diff options
author | Eric Dumazet <edumazet@google.com> | 2014-11-11 14:54:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-11 19:00:05 +0100 |
commit | 3d97379a67486bc481ab5b8f7aa5b7ceb6154a95 (patch) | |
tree | 0a3d911efa46affbd5cd26a4d34f96878b8fa83a /arch/cris | |
parent | mlx4: restore conditional call to napi_complete_done() (diff) | |
download | linux-3d97379a67486bc481ab5b8f7aa5b7ceb6154a95.tar.xz linux-3d97379a67486bc481ab5b8f7aa5b7ceb6154a95.zip |
tcp: move sk_mark_napi_id() at the right place
sk_mark_napi_id() is used to record for a flow napi id of incoming
packets for busypoll sake.
We should do this only on established flows, not on listeners.
This was 'working' by virtue of the socket cloning, but doing
this on SYN packets in unecessary cache line dirtying.
Even if we move sk_napi_id in the same cache line than sk_lock,
we are working to make SYN processing lockless, so it is desirable
to set sk_napi_id only for established flows.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions