X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fipv4%2Fipip.c;h=ea398ee43f28740d6b75eee0efe5ecdcd97c54ee;hb=a3b5960ebd660c9ab92fce9a01d1905ff9b981cb;hp=eef07b0916a3da9e875ef6652ec4e6c204ebdc4d;hpb=683aa4012f53b2ada0f430487e05d37b0d94e90a;p=powerpc.git diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index eef07b0916..ea398ee43f 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c @@ -474,9 +474,6 @@ static int ipip_rcv(struct sk_buff *skb) struct iphdr *iph; struct ip_tunnel *tunnel; - if (!pskb_may_pull(skb, sizeof(struct iphdr))) - goto out; - iph = skb->nh.iph; read_lock(&ipip_lock); @@ -508,7 +505,6 @@ static int ipip_rcv(struct sk_buff *skb) } read_unlock(&ipip_lock); -out: return -1; }