aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-10-17 18:31:34 +0000
committerPaolo Abeni <[email protected]>2024-10-24 14:03:40 +0000
commit42f5fe1dc4babad1c49bcc4121983fffccee3cd9 (patch)
tree6c8061f7470d16d3d140984ca3276abc98de78e4 /drivers/fpga/zynq-fpga.c
parentphonet: Pass net and ifindex to phonet_address_notify(). (diff)
downloadkernel-42f5fe1dc4babad1c49bcc4121983fffccee3cd9.tar.gz
kernel-42f5fe1dc4babad1c49bcc4121983fffccee3cd9.zip
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 <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions