diff options
| author | Alexander Atanasov <alex@ssi.bg> | 2002-06-02 22:32:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-06-02 22:32:34 -0700 |
| commit | e4d533b6f853b94e42fa1675ff64b2be9ec1bfd4 (patch) | |
| tree | 5576a4ff8958f885d4a6eaa1f3db0627479d01e1 /net/ipv4 | |
| parent | e347fa36454c2b50a4bcb8edb5a80b5c09bc02b5 (diff) | |
[PATCH] ipchains_core GFP_KERNEL fix
[ Made applicable with -p1 by Rusty ]
nlma fixes a call to netlink_broadcast with GFP_KERNEL ( passed to
skb_clone ) while we are in_interrupt() ( catched by a BUG() in
slab.c:1109 ).
Diffstat (limited to 'net/ipv4')
| -rw-r--r-- | net/ipv4/netfilter/ipchains_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipchains_core.c b/net/ipv4/netfilter/ipchains_core.c index 5a49783051fd..9d2a1424351f 100644 --- a/net/ipv4/netfilter/ipchains_core.c +++ b/net/ipv4/netfilter/ipchains_core.c @@ -549,7 +549,7 @@ ip_fw_domatch(struct ip_fwkernel *f, strcpy(outskb->data+sizeof(__u32)*2, rif); memcpy(outskb->data+sizeof(__u32)*2+IFNAMSIZ, ip, len-(sizeof(__u32)*2+IFNAMSIZ)); - netlink_broadcast(ipfwsk, outskb, 0, ~0, GFP_KERNEL); + netlink_broadcast(ipfwsk, outskb, 0, ~0, GFP_ATOMIC); } else { #endif |
