projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8460c00
)
ipv6: tcp: dont drop packet but consume it
author
Eric Dumazet
<edumazet@google.com>
Thu, 19 Apr 2012 02:24:36 +0000
(
02:24
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Apr 2012 18:23:55 +0000
(14:23 -0400)
When we need to clone skb, we dont drop a packet.
Call consume_skb() to not confuse dropwatch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/tcp_ipv6.c
b/net/ipv6/tcp_ipv6.c
index 86cfe6005f40a76c716676161efa521cbd808171..050c55186bc434f07e8451756218b67404eea042 100644
(file)
--- a/
net/ipv6/tcp_ipv6.c
+++ b/
net/ipv6/tcp_ipv6.c
@@
-1353,7
+1353,7
@@
static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
newnp->pktoptions = NULL;
if (treq->pktopts != NULL) {
newnp->pktoptions = skb_clone(treq->pktopts, GFP_ATOMIC);
-
kfre
e_skb(treq->pktopts);
+
consum
e_skb(treq->pktopts);
treq->pktopts = NULL;
if (newnp->pktoptions)
skb_set_owner_r(newnp->pktoptions, newsk);