Skip to content

netfilter: flowtable: Preliminary fixes

Florian Fainelli linux-kselftest lkml netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4netfilter: flowtable: do not queue offload work after DESTROYnet/netfilter/nf_flow_table_offload.c+13 -02 replies
2/4netfilter: flowtable: restore the GRE conntrack timeout on teardownnet/netfilter/nf_flow_table_core.c+12 -01 reply
3/4selftests: netfilter: check hardware offload work after DESTROYtools/testing/selftests/net/netfilter/Makefile tools/testing/selftests/net/netfilter/config tools/testing/selftests/net/netfilter/nft_flowtable_hw_destroy.sh+164 -00 replies
4/4selftests: netfilter: check the GRE timeout after flowtable teardowntools/testing/selftests/net/netfilter/Makefile tools/testing/selftests/net/netfilter/config tools/testing/selftests/net/netfilter/nft_flowtable_gre.sh+141 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/4] netfilter: flowtable: Preliminary fixes

This patch series was created based upon the Sashiko review of the Broadcom Flow Accelerator support:

https://lore.kernel.org/all/[email protected]/

These changes were not encountered in real world testing but appear to be valid. Test cases were added to ensure there are no regressions moving forward.

Florian Fainelli (4):
netfilter: flowtable: do not queue offload work after DESTROY
netfilter: flowtable: restore the GRE conntrack timeout on teardown
selftests: netfilter: check hardware offload work after DESTROY
selftests: netfilter: check the GRE timeout after flowtable teardown

 net/netfilter/nf_flow_table_core.c            |  12 ++
 net/netfilter/nf_flow_table_offload.c         |  13 ++
 .../testing/selftests/net/netfilter/Makefile  |   2 +
 tools/testing/selftests/net/netfilter/config  |   4 +
 .../net/netfilter/nft_flowtable_gre.sh        | 137 +++++++++++++++
 .../net/netfilter/nft_flowtable_hw_destroy.sh | 162 ++++++++++++++++++
 6 files changed, 330 insertions(+)
 create mode 100755 tools/testing/selftests/net/netfilter/nft_flowtable_gre.sh
 create mode 100755 tools/testing/selftests/net/netfilter/nft_flowtable_hw_destroy.sh
Signature · 1 line
2.53.0