diff options
author | Florian Westphal <fw@strlen.de> | 2022-01-07 17:46:16 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-01-10 01:35:16 +0300 |
commit | 6316136ec6e3dd1c302f7e7289a9ee46ecc610ae (patch) | |
tree | 2f445be8e7bf12d80ee45d111729c9f58efe1b5a /net | |
parent | 408bdcfce8dfd6902f75fbcd3b99d8b24b506597 (diff) | |
download | linux-6316136ec6e3dd1c302f7e7289a9ee46ecc610ae.tar.xz |
netfilter: egress: avoid a lockdep splat
include/linux/netfilter_netdev.h:97 suspicious rcu_dereference_check() usage!
2 locks held by sd-resolve/1100:
0: ..(rcu_read_lock_bh){1:3}, at: ip_finish_output2
1: ..(rcu_read_lock_bh){1:3}, at: __dev_queue_xmit
__dev_queue_xmit+0 ..
The helper has two callers, one uses rcu_read_lock, the other
rcu_read_lock_bh(). Annotate the dereference to reflect this.
Fixes: 42df6e1d221dd ("netfilter: Introduce egress hook")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions