aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-10-17 18:31:36 +0000
committerPaolo Abeni <[email protected]>2024-10-24 14:03:40 +0000
commitb7d2fc9ad7fe75b536f94409b7f1e90e12e4f44d (patch)
tree2156065326437598def2b8592e8cbf281f87224c /drivers/fpga/tests/fpga-bridge-test.c
parentphonet: Don't hold RTNL for addr_doit(). (diff)
downloadkernel-b7d2fc9ad7fe75b536f94409b7f1e90e12e4f44d.tar.gz
kernel-b7d2fc9ad7fe75b536f94409b7f1e90e12e4f44d.zip
phonet: Don't hold RTNL for getaddr_dumpit().
getaddr_dumpit() already relies on RCU and does not need RTNL. Let's use READ_ONCE() for ifindex and register getaddr_dumpit() with RTNL_FLAG_DUMP_UNLOCKED. While at it, the retval of getaddr_dumpit() is changed to combine NLMSG_DONE and save recvmsg() as done in 58a4ff5d77b1 ("phonet: no longer hold RTNL in route_dumpit()"). 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/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions