From: Jakub Kicinski Date: Thu, 19 Jun 2025 01:30:55 +0000 (-0700) Subject: Merge branch 'net-fix-passive-tfo-socket-having-invalid-napi-id' X-Git-Tag: v6.16-rc3~27^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b70c362a9d4ab93e0b582dad73acb2a953ef797;p=thirdparty%2Flinux.git Merge branch 'net-fix-passive-tfo-socket-having-invalid-napi-id' David Wei says: ==================== net: fix passive TFO socket having invalid NAPI ID Found a bug where an accepted passive TFO socket returns an invalid NAPI ID (i.e. 0) from SO_INCOMING_NAPI_ID. Add a selftest for this using netdevsim and fix the bug. Patch 1 is a drive-by fix for the lib.sh include in an existing drivers/net/netdevsim/peer.sh selftest. Patch 2 adds a test binary for a simple TFO server/client. Patch 3 adds a selftest for checking that the NAPI ID of a passive TFO socket is valid. This will currently fail. Patch 4 adds a fix for the bug. ==================== Link: https://patch.msgid.link/20250617212102.175711-1-dw@davidwei.uk Signed-off-by: Jakub Kicinski --- 9b70c362a9d4ab93e0b582dad73acb2a953ef797