]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite2fc1be2a5b26a22e8c0d423b701184420bbe6c4
tree3f176b4be0d7821f7104303f856839579deb0091
parentd3bfaeb0690a57fe6b19563628f781f6ecfa240b
[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