diff options
| author | Willem de Bruijn <[email protected]> | 2025-03-07 03:34:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-10 20:13:03 +0000 |
| commit | 54580ccdd8a9c6821fd6f72171d435480867e4c3 (patch) | |
| tree | b7048c6ae0744cb597877d1568ba819628cdb5a6 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | Merge branch 'virtio-net-link-queues-to-napis' (diff) | |
| download | kernel-54580ccdd8a9c6821fd6f72171d435480867e4c3.tar.gz kernel-54580ccdd8a9c6821fd6f72171d435480867e4c3.zip | |
ipv6: remove leftover ip6 cookie initializer
As of the blamed commit ipc6.dontfrag is always initialized at the
start of udpv6_sendmsg, by ipcm6_init_sk, to either 0 or 1.
Later checks against -1 are no longer needed and the branches are now
dead code.
The blamed commit had removed those branches. But I had overlooked
this one case.
UDP has both a lockless fast path and a slower path for corked
requests. This branch remained in the fast path.
Fixes: 096208592b09 ("ipv6: replace ipcm6_init calls with ipcm6_init_sk")
Signed-off-by: Willem de Bruijn <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
