Skip to content

flow_dissector: Fix handling of mixed port and port-range keys

Cong Wang bpf netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4flow_dissector: Fix handling of mixed port and port-range keysnet/core/flow_dissector.c+19 -121 replyApplied
2/4selftests/net/forwarding: Add a test case for tc-flower of mixed port and port-rangetools/testing/selftests/net/forwarding/tc_flower_port_range.sh+46 -01 replyApplied
3/4flow_dissector: Fix port range key handling in BPF conversionnet/core/flow_dissector.c+10 -80 repliesApplied
4/4selftests/bpf: Add a specific dst port matchingtools/testing/selftests/bpf/prog_tests/flow_dissector_classification.c+6 -10 repliesApplied

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/4R-b
2/4R-b T-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Patch net 0/4] flow_dissector: Fix handling of mixed port and port-range keys

This patchset contains two fixes for flow_dissector handling of mixed port and port-range keys, for both tc-flower case and bpf case. Each of them also comes with a selftest.

---
Cong Wang (4):
flow_dissector: Fix handling of mixed port and port-range keys selftests/net/forwarding: Add a test case for tc-flower of mixed port
and port-range
flow_dissector: Fix port range key handling in BPF conversion selftests/bpf: Add a specific dst port matching

 net/core/flow_dissector.c                     | 49 +++++++++++--------
 .../flow_dissector_classification.c           |  7 ++-
 .../net/forwarding/tc_flower_port_range.sh    | 46 +++++++++++++++++
 3 files changed, 81 insertions(+), 21 deletions(-)
Signature · 1 line
2.34.1