[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130218.123902.1134119063861292597.davem@davemloft.net>
Date: Mon, 18 Feb 2013 12:39:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: yuvalmin@...adcom.com
Cc: netdev@...r.kernel.org, eilong@...adcom.com, ariele@...adcom.com
Subject: Re: [PATCH net-next 3/9] bnx2x: handle spurious interrupts
From: "Yuval Mintz" <yuvalmin@...adcom.com>
Date: Mon, 18 Feb 2013 10:16:32 +0200
> In scenarios in which a previous driver was removed without proper cleanup
> (e.g., kdump), it is possible for the chip to generate an interrupt without
> any apparent reason.
> This would cause improper behaviour at best, possibly resulting in NULL
> pointer dereferences as interrupts might be sent to an ISR accessing
> uninitialized structures and memories.
>
> This causes the driver to ignore any interrupt which arrives in an
> inappropriate time, i.e., when the driver has not yet properly configured
> its interrupt routines.
>
> Signed-off-by: Yuval Mintz <yuvalmin@...adcom.com>
> Signed-off-by: Ariel Elior <ariele@...adcom.com>
> Signed-off-by: Eilon Greenstein <eilong@...adcom.com>
I cannot accept this patch.
You must not request_irq() until your software state is completely
setup, there are no exceptions to this rule.
--
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