]> git.baikalelectronics.ru Git - kernel.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)
commit6c87a9807e5c57d8d1d04ce35bfcf6dd37889895
tree77edc9546fc909aa78d250392e713c62c1aa92db
parentbed5a13dbd6e3114fbcd1e82d4a6f8f14a36c98d
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