diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-20 12:05:09 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-21 11:38:29 +0200 |
commit | af185d8c76333daa877678e0166a7b45e63bf3c4 (patch) | |
tree | 0c3f2c0168c01595f1b17e34d9b4cd290a0e82c6 /net/ipv4/ip_forward.c | |
parent | net: warn if mac header was not set (diff) | |
download | linux-af185d8c76333daa877678e0166a7b45e63bf3c4.tar.xz linux-af185d8c76333daa877678e0166a7b45e63bf3c4.zip |
raw: complete rcu conversion
raw_diag_dump() can use rcu_read_lock() instead of read_lock()
Now the hashinfo lock is only used from process context,
in write mode only, we can convert it to a spinlock,
and we do not need to block BH anymore.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220620100509.3493504-1-eric.dumazet@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv4/ip_forward.c')
0 files changed, 0 insertions, 0 deletions