Re: bnx2x null pointer dereference
From: Eilon Greenstein <hidden>
Date: 2008-08-03 09:36:52
From: Eilon Greenstein <hidden>
Date: 2008-08-03 09:36:52
On Thu, 2008-07-31 at 15:49 -0700, Bjorn Helgaas wrote:
The crash below occurred because "params->bp == NULL" in bnx2x_update_mng(). This is with the 1.45.11 driver version on a RHEL 5.2 kernel. This is on a prototype ia64 box, and I'm told that there's some bnx2x firmware that is missing from the system firmware, so this might be a "we don't care about this problem because users will never see this situation" sort of thing.
You are right - the problem is that the data from the board is invalid since there is no valid boot-code FW burned on it so the board cannot be used
But it is annoying that it crashes the box rather than just causing the driver to ignore the device.
And this is also true - so we will fix it soon and submit a patch
Bjorn
Thanks for finding it, Eilon