diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-09 16:51:54 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:24:20 -0400 |
commit | c7a3c5da35055e2fa97ed4f0da3eec4bd0ef4c38 (patch) | |
tree | cd1bf48945fdf2d872047a76d88642a40eb93d7b /net | |
parent | 6dea649a8a4c4b086227018c919298f988c34b30 (diff) |
[UDP]: Use __skb_pull since we have checked it won't fail with pskb_may_pull
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index ca353802ca68..1bbf5510cf3a 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) | |||
1002 | * transport header to point to ESP. Keep UDP on the stack | 1002 | * transport header to point to ESP. Keep UDP on the stack |
1003 | * for later. | 1003 | * for later. |
1004 | */ | 1004 | */ |
1005 | skb->h.raw = skb_pull(skb, len); | 1005 | skb->h.raw = __skb_pull(skb, len); |
1006 | 1006 | ||
1007 | /* modify the protocol (it's ESP!) */ | 1007 | /* modify the protocol (it's ESP!) */ |
1008 | iph->protocol = IPPROTO_ESP; | 1008 | iph->protocol = IPPROTO_ESP; |