netfilter: ipset: Pass lockdep expression to RCU lists
authorAmol Grover <frextrite@gmail.com>
Sun, 16 Feb 2020 17:26:54 +0000 (22:56 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Apr 2020 12:31:25 +0000 (14:31 +0200)
commitb135fc0801b671c50de103572b819bcd41603613
treefb1b588525deaeb5be469f198e5ea1ea6234c2ee
parent7fb6f78df7003234d8df4f90aeecc432d7d0c804
netfilter: ipset: Pass lockdep expression to RCU lists

ip_set_type_list is traversed using list_for_each_entry_rcu
outside an RCU read-side critical section but under the protection
of ip_set_type_mutex.

Hence, add corresponding lockdep expression to silence false-positive
warnings, and harden RCU lists.

Signed-off-by: Amol Grover <frextrite@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/ip_set_core.c