[NETFILTER]: recent match: fix "sleeping function called from invalid context"
authorPatrick McHardy <kaber@trash.net>
Fri, 9 Jun 2006 19:17:41 +0000 (12:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:30:07 +0000 (21:30 -0700)
commita0e889bb1bdc083dbbdb02cce9698765847b841f
tree3f176b4be0d7821f7104303f856839579deb0091
parent4e5ab4cb85683cf77b507ba0c4d48871e1562305
[NETFILTER]: recent match: fix "sleeping function called from invalid context"

create_proc_entry must not be called with locks held. Use a mutex
instead to protect data only changed in user context.

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