diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2025-02-18 07:32:09 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-20 05:54:59 +0300 |
commit | 69ab34f705fbfabcace64b5d53bb7a4450fac875 (patch) | |
tree | d2afaec03ea8047143b4492525c3a179fc077ad8 /scripts/generate_rust_analyzer.py | |
parent | dfc1580f960bf70bdaacda8f3d644e3e58160f9d (diff) | |
download | linux-69ab34f705fbfabcace64b5d53bb7a4450fac875.tar.xz |
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 <dtzq01@gmail.com>
Closes: https://lore.kernel.org/netdev/CAPx+-5uvFxkhkz4=j_Xuwkezjn9U6kzKTD5jz4tZ9msSJ0fOJA@mail.gmail.com/
Cc: Yoshiki Komachi <komachi.yoshiki@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Link: https://patch.msgid.link/20250218043210.732959-4-xiyou.wangcong@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions