diff options
Diffstat (limited to 'net/802/psnap.c')
-rw-r--r-- | net/802/psnap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c index 34e42968b477..97c95eec79ed 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c | |||
@@ -61,8 +61,7 @@ static int snap_rcv(struct sk_buff *skb, struct net_device *dev, | |||
61 | /* Pass the frame on. */ | 61 | /* Pass the frame on. */ |
62 | u8 *hdr = skb->data; | 62 | u8 *hdr = skb->data; |
63 | skb->h.raw += 5; | 63 | skb->h.raw += 5; |
64 | skb_pull(skb, 5); | 64 | skb_pull_rcsum(skb, 5); |
65 | skb_postpull_rcsum(skb, hdr, 5); | ||
66 | rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); | 65 | rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); |
67 | } else { | 66 | } else { |
68 | skb->sk = NULL; | 67 | skb->sk = NULL; |