aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2025-02-18 04:32:09 +0000
committerJakub Kicinski <[email protected]>2025-02-20 02:54:59 +0000
commit69ab34f705fbfabcace64b5d53bb7a4450fac875 (patch)
treed2afaec03ea8047143b4492525c3a179fc077ad8 /net/ipv4/tcp_input.c
parentselftests/net/forwarding: Add a test case for tc-flower of mixed port and por... (diff)
downloadkernel-69ab34f705fbfabcace64b5d53bb7a4450fac875.tar.gz
kernel-69ab34f705fbfabcace64b5d53bb7a4450fac875.zip
flow_dissector: Fix port range key handling in BPF conversion
Fix how port range keys are handled in __skb_flow_bpf_to_target() by: - Separating PORTS and PORTS_RANGE key handling - Using correct key_ports_range structure for range keys - Properly initializing both key types independently This ensures port range information is correctly stored in its dedicated structure rather than incorrectly using the regular ports key structure. Fixes: 59fb9b62fb6c ("flow_dissector: Fix to use new variables for port ranges in bpf hook") Reported-by: Qiang Zhang <[email protected]> Closes: https://lore.kernel.org/netdev/CAPx+-5uvFxkhkz4=j_Xuwkezjn9U6kzKTD5jz4tZ9msSJ0fOJA@mail.gmail.com/ Cc: Yoshiki Komachi <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Cc: Jiri Pirko <[email protected]> Signed-off-by: Cong Wang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions