]> git.baikalelectronics.ru Git - kernel.git/commit
meter.c: Use built-in RCU list checking
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Tue, 18 Feb 2020 19:54:25 +0000 (01:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2020 20:46:26 +0000 (12:46 -0800)
commitf276970b24471c218cc57d5b82928fab29670799
tree584ae4aa8a1d21bc08e64b6027c60de21ba98db9
parentabf1c396fc87fe8c0cbd66c249b98b57468f2395
meter.c: Use built-in RCU list checking

hlist_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/openvswitch/meter.c