netfilter: nfnetlink_log: remove rcu_bh usage
authorFlorian Westphal <fw@strlen.de>
Tue, 28 Mar 2023 16:44:15 +0000 (18:44 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 30 Mar 2023 20:20:09 +0000 (22:20 +0200)
commit356e2adb3f3b9fe4427224eec2f8819a3078665f
treeaa709ee6ae6ba495d36962546ee73a27bcb9b4fb
parentda617cd8d90608582eb8d0b58026f31f1a9bfb1d
netfilter: nfnetlink_log: remove rcu_bh usage

structure is free'd via call_rcu, so its safe to use rcu_read_lock only.

While at it, skip rcu_read_lock for lookup from packet path, its always
called with rcu held.

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