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)
commit7790614616458b6dd3d90652acfa6b7443ee7041
tree584ae4aa8a1d21bc08e64b6027c60de21ba98db9
parent9facfdb5467382a21fc0bd4211ced26c06f28832
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