ipv6: xfrm6_tunnel.c: Use built-in RCU list checking
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Fri, 21 Feb 2020 16:24:47 +0000 (21:54 +0530)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 27 Feb 2020 09:17:41 +0000 (10:17 +0100)
commitedf0d283d988c0c7da53fa2cc1388649263470de
treedf9b175ac30b1bf30d6d60f6b0fe9fe84be6dd26
parenta1a7e3a36e01ca6e67014f8cf673cb8e47be5550
ipv6: xfrm6_tunnel.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: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/xfrm6_tunnel.c