]> git.baikalelectronics.ru Git - kernel.git/commit
net: Remove rtnl_lock() in nf_ct_iterate_destroy()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 29 Mar 2018 16:21:20 +0000 (19:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 17:47:54 +0000 (13:47 -0400)
commite78cfb9524d2fb437db083f82b04c8f05a0c0e5b
tree9bd5736d380f7c2f6f653671b52a5b206b158192
parent3fb7f8e60881b27b69c15d4f0af2c83bcc7940c8
net: Remove rtnl_lock() in nf_ct_iterate_destroy()

rtnl_lock() doesn't protect net::ct::count,
and it's not needed for__nf_ct_unconfirmed_destroy()
and for nf_queue_nf_hook_drop().

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_core.c