[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121123.142621.70094578773386257.davem@davemloft.net>
Date: Fri, 23 Nov 2012 14:26:21 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sathya.perla@...lex.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] be2net: fix a possible events_get() race on
BE2
From: Sathya Perla <sathya.perla@...lex.com>
Date: Fri, 23 Nov 2012 15:57:18 +0530
> On BE2 chip, an interrupt being raised even when EQ is in un-armed state has
> been observed a few times. This is not expected and has never been
> observed on BE3/Lancer chips.
>
> As a consequence, be_msix()::events_get() and be_poll()::events_get()
> can race and notify an EQ wrongly causing a CEV UE. The other possible
> side-effect would be traffic stalling because after notifying EQ,
> napi_schedule() is ignored as NAPI is already running.
>
> This patch fixes this issue by counting events only in be_poll().
>
> Signed-off-by: Sathya Perla <sathya.perla@...lex.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists