]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/802/psnap.c
[IPV6]: Fix kernel OOPs when setting sticky socket options.
[linux-2.6-omap-h63xx.git] / net / 802 / psnap.c
index 4d638944d933bf971c7750425474dfd3079360eb..270b9d2cae6589b983f9925ee728370aec74cec7 100644 (file)
@@ -60,7 +60,7 @@ static int snap_rcv(struct sk_buff *skb, struct net_device *dev,
        if (proto) {
                /* Pass the frame on. */
                skb->h.raw  += 5;
-               skb_pull(skb, 5);
+               skb_pull_rcsum(skb, 5);
                rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev);
        } else {
                skb->sk = NULL;