]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: 802: psnap.c: Use built-in RCU list checking
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Fri, 21 Feb 2020 16:19:47 +0000 (21:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 21:02:53 +0000 (13:02 -0800)
commit0a087bf232c35dbec3769c4402ca737995d7b734
tree77edc9546fc909aa78d250392e713c62c1aa92db
parent958a93c15466c69e2ec531332e67011f549943bd
net: 802: psnap.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
by default.

Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/802/psnap.c