From: Arnaldo Carvalho de Melo Date: Fri, 9 Mar 2007 21:51:54 +0000 (-0800) Subject: [UDP]: Use __skb_pull since we have checked it won't fail with pskb_may_pull X-Git-Tag: v2.6.22-rc1~1128^2~368 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c7a3c5da35055e2fa97ed4f0da3eec4bd0ef4c38;p=linux-2.6-omap-h63xx.git [UDP]: Use __skb_pull since we have checked it won't fail with pskb_may_pull Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index ca353802ca6..1bbf5510cf3 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1002,7 +1002,7 @@ static int udp_encap_rcv(struct sock * sk, struct sk_buff *skb) * transport header to point to ESP. Keep UDP on the stack * for later. */ - skb->h.raw = skb_pull(skb, len); + skb->h.raw = __skb_pull(skb, len); /* modify the protocol (it's ESP!) */ iph->protocol = IPPROTO_ESP;