Messages in this thread | | | Date | Thu, 24 Sep 2015 14:53:26 +0800 | From | Weidong Wang <> | Subject | Re: [PATCH net-next] BNX2: fix a Null Pointer for stats_blk |
| |
On 2015/9/24 13:34, David Miller wrote: > From: Weidong Wang <wangweidong1@huawei.com> > 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. >
It is a good idea.
Yet, what is the intention of the dynamic to alloc/free stats_block? what will be affected by allocating the statistics block.
Best Regards, Weidong
>
| |