aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMadhuparna Bhowmik <[email protected]>2020-02-25 12:27:45 +0000
committerDavid S. Miller <[email protected]>2020-02-27 00:59:18 +0000
commit2eb51c75dcb354f8aef03d7648318b24630632e1 (patch)
treea8215309b5994be1239a270d11da6459b2d4b302 /net/unix/af_unix.c
parentnet: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec (diff)
downloadkernel-2eb51c75dcb354f8aef03d7648318b24630632e1.tar.gz
kernel-2eb51c75dcb354f8aef03d7648318b24630632e1.zip
net: core: devlink.c: Use built-in RCU list checking
list_for_each_entry_rcu() has built-in RCU and lock checking. Pass cond argument to list_for_each_entry_rcu() to silence false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled. The devlink->lock is held when devlink_dpipe_table_find() is called in non RCU read side section. Therefore, pass struct devlink to devlink_dpipe_table_find() for lockdep checking. Signed-off-by: Madhuparna Bhowmik <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions