projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dea649
)
[UDP]: Use __skb_pull since we have checked it won't fail with pskb_may_pull
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Fri, 9 Mar 2007 21:51:54 +0000
(13:51 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:20 +0000
(22:24 -0700)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index ca353802ca687a549b7b2a88a809dab9853c719c..1bbf5510cf3a9185cbb2d64a05b8e9cf4e49d1ba 100644
(file)
--- 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;