Searched hist:"6 bcfd7f8c28887a4298bc4386b02cb90c9fa0c13" (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
H A D | syncookies.c | diff 6bcfd7f8c28887a4298bc4386b02cb90c9fa0c13 Thu Oct 08 20:16:48 CEST 2015 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com> Reported-by: Willem de Bruijn <willemb@google.com> Cc: Tom Herbert <tom@herbertland.com> Acked-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | tcp_minisocks.c | diff 6bcfd7f8c28887a4298bc4386b02cb90c9fa0c13 Thu Oct 08 20:16:48 CEST 2015 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com> Reported-by: Willem de Bruijn <willemb@google.com> Cc: Tom Herbert <tom@herbertland.com> Acked-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|