Hi Alexey,
James looks after the (EXPERIMENTAL) ip_queue netfilter code.
Please apply.
From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
To: Rusty Russell <rusty@xxxxxxxxxxxxxxxx>
Subject: [PATCH] ip_queue fucked-up oops fix
Hi Rusty,
The patch below against 2.3.99-pre2-4 fixes a problem in ip_queue which
can lead to a kernel crash on SMP machines.
diff -ur --exclude=*.[oa] --exclude=.*
linux-2.3.99-pre2-4/net/ipv4/netfilter/ip_queue.c
linux/net/ipv4/netfilter/ip_queue.c
--- linux-2.3.99-pre2-4/net/ipv4/netfilter/ip_queue.c Sat Mar 18 23:22:33 2000
+++ linux/net/ipv4/netfilter/ip_queue.c Sun Mar 19 13:16:43 2000
@@ -491,7 +491,7 @@
skb = netlink_build_message(e, &status);
if (skb == NULL)
return status;
- return netlink_unicast(nfnl, skb, nlq->peer.pid, 0);
+ return netlink_unicast(nfnl, skb, nlq->peer.pid, MSG_DONTWAIT);
}
static struct sk_buff *
|