diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-10-17 11:31:34 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-24 16:03:40 +0200 |
commit | 42f5fe1dc4babad1c49bcc4121983fffccee3cd9 (patch) | |
tree | 6c8061f7470d16d3d140984ca3276abc98de78e4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 68ed5c38b512b734caf3da1f87db4a99fcfe3002 (diff) |
phonet: Convert phonet_device_list.lock to spinlock_t.
addr_doit() calls phonet_address_add() or phonet_address_del()
for RTM_NEWADDR or RTM_DELADDR, respectively.
Both functions only touch phonet_device_list(dev_net(dev)),
which is currently protected by RTNL and its dedicated mutex,
phonet_device_list.lock.
We will convert addr_doit() to RCU and cannot use mutex inside RCU.
Let's convert the mutex to spinlock_t.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions