]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a991cd47f2a093d7b7f7483933b0f2e95da2548
tree8b9fddba42a8efb82ed8cf2f7e9d62e8717591b6
parentc51dee92e7ce9f9e21512f489d3b8b4b26915a3f
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