]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Record Rx hash and NAPI ID in tcp_child_process
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 24 Mar 2017 17:08:00 +0000 (10:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Mar 2017 03:49:30 +0000 (20:49 -0700)
commitd7fa7c4367e97306fdf4242393828819c7fb657f
treed8e83baae6c47934ab8e2be0754fb53670f09a2b
parent0676bda5b9abc0e3d8adcd86b7a285b0b500a32f
tcp: Record Rx hash and NAPI ID in tcp_child_process

While working on some recent busy poll changes we found that child sockets
were being instantiated without NAPI ID being set.  In our first attempt to
fix it, it was suggested that we should just pull programming the NAPI ID
into the function itself since all callers will need to have it set.

In addition to the NAPI ID change I have dropped the code that was
populating the Rx hash since it was actually being populated in
tcp_get_cookie_sock.

Reported-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c