]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/x25/x25_in.c
ipv6: AF_INET6 link address family
[net-next-2.6.git] / net / x25 / x25_in.c
index 63178961efac00488d36e7c8fc3d21f00e036e2e..f729f022be69bc8c32b1008e8943c92cf36c1e28 100644 (file)
@@ -119,6 +119,8 @@ static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametyp
                                                &x25->vc_facil_mask);
                        if (len > 0)
                                skb_pull(skb, len);
+                       else
+                               return -1;
                        /*
                         *      Copy any Call User Data.
                         */