summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet2015-10-02 20:43:26 +0200
committerDavid S. Miller2015-10-03 13:32:37 +0200
commit38cb52455c2c3e8b5751350a3fb32e43e82e129a (patch)
tree980448843557232a199526d86ad2970f97159627 /net/ipv6
parenttcp: move synflood_warned into struct request_sock_queue (diff)
downloadkernel-qcow2-linux-38cb52455c2c3e8b5751350a3fb32e43e82e129a.tar.gz
kernel-qcow2-linux-38cb52455c2c3e8b5751350a3fb32e43e82e129a.tar.xz
kernel-qcow2-linux-38cb52455c2c3e8b5751350a3fb32e43e82e129a.zip
tcp: call sk_mark_napi_id() on the child, not the listener
This fixes a typo : We want to store the NAPI id on child socket. Presumably nobody really uses busy polling, on short lived flows. Fixes: 3d97379a67486 ("tcp: move sk_mark_napi_id() at the right place") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 2ae95e1d03e1..e463583c39ee 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1265,7 +1265,7 @@ static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb)
*/
if (nsk != sk) {
sock_rps_save_rxhash(nsk, skb);
- sk_mark_napi_id(sk, skb);
+ sk_mark_napi_id(nsk, skb);
if (tcp_child_process(sk, nsk, skb))
goto reset;
if (opt_skb)