]> 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)
commit80a53ceddf2c48cbf7068477d020a1dcb336e7ca
tree77edc9546fc909aa78d250392e713c62c1aa92db
parent8bd446f1090a5ffb3e6c36ae561a7902d946ff4c
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