mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
else, we leak the addresses to userspace via ctnetlink events and dumps. Compute an ID on demand based on the immutable parts of nf_conn struct. Another advantage compared to using an address is that there is no immediate re-use of the same ID in case the conntrack entry is freed and reallocated again immediately. Fixes:3583240249("[NETFILTER]: nf_conntrack_expect: kill unique ID") Fixes:7f85f91472("[NETFILTER]: nf_conntrack: kill unique ID") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>