]> granicus.if.org Git - ipset/commit
Correct rcu_dereference() call in ip_set_put_comment()
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 19 Oct 2018 17:35:19 +0000 (19:35 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 19 Oct 2018 17:35:19 +0000 (19:35 +0200)
commitab9f07b599b26f71b8ee48f1a4a2f375a08ea386
treeace05c85a03d753f5e298bde22a1ca1031208010
parent55fdd96e331e920ee62bd816a572ac24f6dcd1ae
Correct rcu_dereference() call in ip_set_put_comment()

The function is called when rcu_read_lock() is held and not
when rcu_read_lock_bh() is held.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
kernel/include/linux/netfilter/ipset/ip_set_comment.h