net/netlabel: Add list_next_rcu() in rcu_dereference().
authorTim Hansen <devtimhansen@gmail.com>
Thu, 16 Nov 2017 17:03:34 +0000 (12:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Nov 2017 01:32:41 +0000 (10:32 +0900)
commit17e48577752a61197a7e5f4922db45b3a5af5068
tree8b9fddba42a8efb82ed8cf2f7e9d62e8717591b6
parent58fedcade126c16cf466a0dd1bc59312e1a6b6f1
net/netlabel: Add list_next_rcu() in rcu_dereference().

Add list_next_rcu() for fetching next list in rcu_deference safely.

Found with sparse in linux-next tree on tag next-20171116.

Signed-off-by: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_addrlist.h