aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2015-10-08 18:16:48 +0000
committerDavid S. Miller <[email protected]>2015-10-11 12:33:15 +0000
commit6bcfd7f8c28887a4298bc4386b02cb90c9fa0c13 (patch)
tree34a3fa802965d1c97f5c242b79436bb648fa13c9 /net/ipv4/tcp_timer.c
parentMerge branch 'dsa-next' (diff)
downloadkernel-6bcfd7f8c28887a4298bc4386b02cb90c9fa0c13.tar.gz
kernel-6bcfd7f8c28887a4298bc4386b02cb90c9fa0c13.zip
tcp: fix RFS vs lockless listeners
Before recent TCP listener patches, we were updating listener sk->sk_rxhash before the cloning of master socket. children sk_rxhash was therefore correct after the normal 3WHS. But with lockless listener, we no longer dirty/change listener sk_rxhash as it would be racy. We need to correctly update the child sk_rxhash, otherwise first data packet wont hit correct cpu if RFS is used. Fixes: 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: Willem de Bruijn <[email protected]> Cc: Tom Herbert <[email protected]> Acked-by: Tom Herbert <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions