mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
netfilter: nf_conntrack_helper: do not hash by tuple
Long time ago helpers were auto-assigned to connections based on port/protocol match. For this reason, nf_conntrack_helper still contains a full tuple. Nowadays the only relevant entries in the tuple are the l3 and l4 protocol numbers. Prepare for tuple removal and switch to hashing name and l4 protocol. l3num cannot be used because helpers can also register for "unspec" protocol. Signed-off-by: Florian Westphal <fw@strlen.de>
This commit is contained in:
parent
60aee97fc7
commit
26fb502773
1 changed files with 31 additions and 36 deletions
Loading…
Add table
Add a link
Reference in a new issue