[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130327.152716.1731476572805884795.davem@davemloft.net>
Date: Wed, 27 Mar 2013 15:27:16 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: yuvalmin@...adcom.com
Cc: netdev@...r.kernel.org, ariele@...adcom.com, eilong@...adcom.com
Subject: Re: [PATCH net-next] bnx2x: handle spurious interrupts
From: "Yuval Mintz" <yuvalmin@...adcom.com>
Date: Wed, 27 Mar 2013 20:19:39 +0200
> Since the driver must request the IRQ prior to enabling HW generation of
> interrupts, it would still need to ignore every interrupt arriving during that
> interval.
This is the real issue.
request_irq() must not be invoked until you are ready to handle
interrupts, and this means initializing any and all software
datastructures that might be accessed in the interrupt handler.
If this requirement is met, seeing NULL pointers is not possible.
I still reject this patch, please fix the fundamental issue instead,
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