diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-23 04:34:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-24 11:34:38 +0100 |
commit | a96f7a6a60b310fdb7913d5ae70961eeeca9527d (patch) | |
tree | 5c00956ca95472c1a3196f5b74f4396e5b44abb2 /net/unix/af_unix.c | |
parent | 3f55211ecf6a8fb271565adcb704cd57a8e4547c (diff) |
ip6mr: convert mrt_lock to a spinlock
mrt_lock is only held in write mode, from process context only.
We can switch to a mere spinlock, and avoid blocking BH.
Also, vif_dev_read() is always called under standard rcu_read_lock().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions