Skip to content
Commit af185d8c authored by Eric Dumazet's avatar Eric Dumazet Committed by Paolo Abeni
Browse files

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: default avatarEric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220620100509.3493504-1-eric.dumazet@gmail.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent f9aefd6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment