| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] bug in xfrm_lookup [bugzilla 2017] |
| From: | Krishna Kumar <krkumar@xxxxxxxxxx> |
| Date: | Wed, 4 Feb 2004 17:41:48 -0800 (PST) |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040119211156.4bff1640.davem@xxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi Dave,
One of my earlier patches had a bug in xfrm_lookup() causin schedule()
to get called though MSG_DONTWAIT was specified. I am going to send
the following patch to the bugzilla user who created this bug report
and ask them to test it. I thought I will let you know of this problem
and I will send you a confirmation once I get a response that the problem
is solved.
Thanks,
- KK
diff -ruN linux-2.6.2/net/xfrm/xfrm_policy.c
linux-2.6.2.new/net/xfrm/xfrm_policy.c
--- linux-2.6.2/net/xfrm/xfrm_policy.c 2004-02-04 17:33:51.000000000 -0800
+++ linux-2.6.2.new/net/xfrm/xfrm_policy.c 2004-02-04 17:34:37.000000000
-0800
@@ -775,7 +775,7 @@
if (unlikely(nx<0)) {
err = nx;
- if (err == -EAGAIN && !flags) {
+ if (err == -EAGAIN && flags) {
DECLARE_WAITQUEUE(wait, current);
add_wait_queue(&km_waitq, &wait);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: FW: Submission for S2io 10GbE driver, Andi Kleen |
|---|---|
| Next by Date: | Re: FW: Submission for S2io 10GbE driver, Anton Blanchard |
| Previous by Thread: | [PATCH] [2.4] forcedeth network driver, Carl-Daniel Hailfinger |
| Next by Thread: | Re: [PATCH] bug in xfrm_lookup [bugzilla 2017], David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |