diff options
author | Florian Westphal <fw@strlen.de> | 2019-10-15 15:19:15 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-10-17 11:47:02 +0200 |
commit | 2ad9d7747c10d17cc06447944fefd4c29ae11eb1 (patch) | |
tree | 344f7991b721a5d72a33fd1152857e92e5eeb16a /net/tipc/monitor.c | |
parent | 49ca022bccc577d323526215092040fe3b13d68b (diff) |
netfilter: conntrack: free extension area immediately
Instead of waiting for rcu grace period just free it directly.
This is safe because conntrack lookup doesn't consider extensions.
Other accesses happen while ct->ext can't be free'd, either because
a ct refcount was taken or because the conntrack hash bucket lock or
the dying list spinlock have been taken.
This allows to remove __krealloc in a followup patch, netfilter was the
only user.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/tipc/monitor.c')
0 files changed, 0 insertions, 0 deletions