netfilter: nf_conntrack: remove unnecessary RTNL locking
authorPatrick McHardy <kaber@trash.net>
Sun, 19 Aug 2012 10:16:10 +0000 (10:16 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 20 Aug 2012 10:46:29 +0000 (12:46 +0200)
commit2834a6386b86a5dd20380aadb01897c525448aa7
tree8c2decbd891d21af09dd667f5744d13008b49ec7
parentfe31d1a8605f020eee859375fdd877186e01b804
netfilter: nf_conntrack: remove unnecessary RTNL locking

Locking the rtnl was added to nf_conntrack_l{3,4}_proto_unregister()
for walking the network namespace list. This is not done anymore since
we have proper namespace support in the protocols now, so we don't
need to take the RTNL anymore.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_proto.c