[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56039DE6.5020904@huawei.com>
Date: Thu, 24 Sep 2015 14:53:26 +0800
From: Weidong Wang <wangweidong1@...wei.com>
To: David Miller <davem@...emloft.net>
CC: <sony.chacko@...gic.com>, <Dept-HSGLinuxNICDev@...gic.com>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<rui.xiang@...wei.com>
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@...wei.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
>
--
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