[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080327.152218.235944668.davem@davemloft.net>
Date: Thu, 27 Mar 2008 15:22:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: rjw@...k.pl, a.p.zijlstra@...llo.nl, akpm@...ux-foundation.org,
netdev@...r.kernel.org, bugme-daemon@...zilla.kernel.org,
marcus@...ter.se, shemminger@...ux-foundation.org,
linux-kernel@...r.kernel.org, mingo@...e.hu
Subject: Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in
net_rx_action
From: Jarek Poplawski <jarkao2@...il.com>
Date: Thu, 27 Mar 2008 23:22:48 +0100
> On Thu, Mar 27, 2008 at 10:56:49PM +0100, Rafael J. Wysocki wrote:
> ...
> > I assume there will be a patch posted for this issue. Correct?
>
> I guess Peter should know the answer!
Instead of going back and forth like this can someone post
just take it upon themselves to post such an obvious patch
already :-)
All of this "he'll do it, she'll do it" just wastes time.
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index a2f0032..fae6a7e 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -383,9 +383,11 @@ static inline void __napi_complete(struct napi_struct *n)
static inline void napi_complete(struct napi_struct *n)
{
- local_irq_disable();
+ unsigned long flags;
+
+ local_irq_save(flags);
__napi_complete(n);
- local_irq_enable();
+ local_irq_restore(flags);
}
/**
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists