diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-03-11 08:19:59 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-14 04:57:45 +0300 |
| commit | 5a88b2810f267893e4b34f3044a9e11f952f03d9 (patch) | |
| tree | bdff0bfd6e58c21127f42b75f032fd1f6fa288f8 /include | |
| parent | c570bd25d88a02c249be23850315435ec69808f5 (diff) | |
| download | linux-5a88b2810f267893e4b34f3044a9e11f952f03d9.tar.xz | |
udp: Remove dead check in __udp[46]_lib_lookup() for BPF.
BPF socket lookup for SO_REUSEPORT does not support UDP-Lite.
In __udp4_lib_lookup() and __udp6_lib_lookup(), it checks if
the passed udptable pointer is the same as net->ipv4.udp_table,
which is only true for UDP.
Now, the condition is always true.
Let's remove the check.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260311052020.1213705-13-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
