X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Ftunnel4.c;h=cb1f0e83830b408871139ca9a809b5320ea809b7;hb=00e9028a95fb8a4d79f2fb695a853f33ea7d3b57;hp=d3b709a6f2644e0ff400ff4dfe8dd80d66efce51;hpb=334d094504c2fe1c44211ecb49146ae6bca8c321;p=linux-2.6 diff --git a/net/ipv4/tunnel4.c b/net/ipv4/tunnel4.c index d3b709a6f2..cb1f0e8383 100644 --- a/net/ipv4/tunnel4.c +++ b/net/ipv4/tunnel4.c @@ -97,7 +97,7 @@ static int tunnel64_rcv(struct sk_buff *skb) { struct xfrm_tunnel *handler; - if (!pskb_may_pull(skb, sizeof(struct iphdr))) + if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) goto drop; for (handler = tunnel64_handlers; handler; handler = handler->next)