netfilter: conntrack: move rcu read lock to nf_conntrack_find_get
authorFlorian Westphal <fw@strlen.de>
Fri, 16 Dec 2022 01:46:28 +0000 (02:46 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 18 Jan 2023 12:05:24 +0000 (13:05 +0100)
commit2a2fa2efc65fb4d96bdcde819473943fb90ec28b
tree59a82c25422ee8d90346135cb52f3f5723dac845
parent4883ec512c1715fc827557f0e2bfce76c6530757
netfilter: conntrack: move rcu read lock to nf_conntrack_find_get

Move rcu_read_lock/unlock to nf_conntrack_find_get(), this avoids
nested rcu_read_lock call from resolve_normal_ct().

Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_conntrack_core.c