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)
commit152f253152cc08f5d26ba76659723d2d83b363f8
tree9bd5736d380f7c2f6f653671b52a5b206b158192
parentec9c780925c57588637e1dbd8650d294107311c0
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