]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_conntrack: switch protocol registration/unregistration to mutex
authorPatrick McHardy <kaber@trash.net>
Wed, 14 Mar 2007 23:37:52 +0000 (16:37 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:39 +0000 (22:25 -0700)
commitb19caa0ca071dce76b0e81e957e7eb7c03d72cf5
treebaf307a4daa2c63ccc451d6dbcd47f55945aea9a
parent587aa64163bb14f70098f450abab9410787fce9d
[NETFILTER]: nf_conntrack: switch protocol registration/unregistration to mutex

The protocol lookups done by nf_conntrack are already protected by RCU,
there is no need to keep taking nf_conntrack_lock for registration
and unregistration. Switch to a mutex.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_proto.c