diff options
author | Florian Westphal <fw@strlen.de> | 2022-04-11 13:01:23 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-05-13 18:52:17 +0200 |
commit | ace53fdc262fa6751acd3d61f3236f84ae3340f1 (patch) | |
tree | 8455a8b1512d2703f09e5dac3cc7ac19535a2e12 /include/net/netns | |
parent | 42df4fb9b1bed6a6d2c1f79b974a9ed14de27ea1 (diff) |
netfilter: conntrack: remove __nf_ct_unconfirmed_destroy
Its not needed anymore:
A. If entry is totally new, then the rcu-protected resource
must already have been removed from global visibility before call
to nf_ct_iterate_destroy.
B. If entry was allocated before, but is not yet in the hash table
(uncofirmed case), genid gets incremented and synchronize_rcu() call
makes sure access has completed.
C. Next attempt to peek at extension area will fail for unconfirmed
conntracks, because ext->genid != genid.
D. Conntracks in the hash are iterated as before.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns')
0 files changed, 0 insertions, 0 deletions