[NETFILTER]: Switch nf_register_afinfo/nf_unregister_afinfo to mutex
authorPatrick McHardy <kaber@trash.net>
Mon, 12 Feb 2007 19:09:55 +0000 (11:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2007 19:09:55 +0000 (11:09 -0800)
commitd486dd1fb8573fad5b8dab61a7d1406116fd4baf
treef9cbb12e031beb6d0038846b731a62c0b85804d7
parente4ba13088de7fa384087af398df6629fadb363ba
[NETFILTER]: Switch nf_register_afinfo/nf_unregister_afinfo to mutex

The spinlock is only used in process context (register/unregister),
switch to a mutex.

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