Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c7a3c5da35055e2fa97ed4f0da3eec4bd0ef4c38 Commit: c7a3c5da35055e2fa97ed4f0da3eec4bd0ef4c38 Parent: 6dea649a8a4c4b086227018c919298f988c34b30 Author: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> AuthorDate: Fri Mar 9 13:51:54 2007 -0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Wed Apr 25 22:24:20 2007 -0700
[UDP]: Use __skb_pull since we have checked it won't fail with pskb_may_pull Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- 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 ca35380..1bbf551 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html