diff options
author | David Wei <dw@davidwei.uk> | 2025-06-17 14:21:02 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-18 18:30:51 -0700 |
commit | dbe0ca8da1f62b6252e7be6337209f4d86d4a914 (patch) | |
tree | e70279e3788b3013d2155f01ba7ace33a00b2ef0 /rust/helpers/workqueue.c | |
parent | 137e7b5cceda2fd634ff47fde6c4226092d09442 (diff) |
tcp: fix passive TFO socket having invalid NAPI ID
There is a bug with passive TFO sockets returning an invalid NAPI ID 0
from SO_INCOMING_NAPI_ID. Normally this is not an issue, but zero copy
receive relies on a correct NAPI ID to process sockets on the right
queue.
Fix by adding a sk_mark_napi_id_set().
Fixes: e5907459ce7e ("tcp: Record Rx hash and NAPI ID in tcp_child_process")
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250617212102.175711-5-dw@davidwei.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions