netfilter: conntrack: switch to siphash
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | netfilter: conntrack: sanitize table size default settingsDocumentation/ net/ | +22 | 0 replies | |
| 2/3 | netfilter: conntrack: switch to siphashnet/ net/ net/ | +50 | 0 replies | |
| 3/3 | netfilter: conntrack: refuse insertion if chain has grown too largeinclude/ include/ net/ +2 more | +42 | 0 replies | |
| 3/3 | netfilter: refuse insertion if chain has grown too largeinclude/ include/ net/ +2 more | +42 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf 0/3] netfilter: conntrack: switch to siphash
Two recent commits switched inet rt and nexthop exception hashes from jhash to siphash.
If those two spots are problematic then conntrack is affected as well, so switch voer to siphash too.
While at it, add a hard upper limit on chain lengths and reject insertion if this is hit.
Florian Westphal (3):
netfilter: conntrack: sanitize table size default settings
netfilter: conntrack: switch to siphash
netfilter: conntrack: refuse insertion if chain has grown too large
.../networking/nf_conntrack-sysctl.rst | 13 ++- include/linux/netfilter/nf_conntrack_common.h | 1 + .../linux/netfilter/nfnetlink_conntrack.h | 1 + net/netfilter/nf_conntrack_core.c | 103 ++++++++++++------ net/netfilter/nf_conntrack_expect.c | 25 +++-- net/netfilter/nf_conntrack_netlink.c | 4 +- net/netfilter/nf_conntrack_standalone.c | 4 +- net/netfilter/nf_nat_core.c | 18 ++- 8 files changed, 114 insertions(+), 55 deletions(-)
Signature · 1 line
2.31.1