Re: [PATCH net-next] BNX2: fix a Null Pointer for stats_blk

From: David Miller
Date: Thu Sep 24 2015 - 01:34:49 EST


From: Weidong Wang <wangweidong1@xxxxxxxxxx>
Date: Thu, 24 Sep 2015 10:00:45 +0800

> It does affect the intention. Although, the problem exists then makes the
> system panic within some case.
>
> Do you have any idea about it?

Allocate the statistics block at probe time so that this problem is
impossible.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/