diff options
| author | Oleksij Rempel <[email protected]> | 2025-07-17 08:35:24 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-19 00:19:46 +0000 |
| commit | e7ce59d9205e3842d0931632372aaf9fb4d901cf (patch) | |
| tree | 676e3c8a695d3f66ab3243f48583435bb92ed70d /net/core/dev.c | |
| parent | net: track pfmemalloc drops via SKB_DROP_REASON_PFMEMALLOC (diff) | |
| download | kernel-e7ce59d9205e3842d0931632372aaf9fb4d901cf.tar.gz kernel-e7ce59d9205e3842d0931632372aaf9fb4d901cf.zip | |
net: selftests: add PHY-loopback test for bad TCP checksums
Detect NICs and drivers that either drop frames with a corrupted TCP
checksum or, worse, pass them up as valid. The test flips one bit in
the checksum, transmits the packet in internal loopback, and fails when
the driver reports CHECKSUM_UNNECESSARY.
Discussed at:
https://lore.kernel.org/all/[email protected]/
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
