From: Akinobu Mita <[EMAIL PROTECTED]>
Date: Wed, 23 Aug 2006 20:37:40 +0900
> This patch makes crash happen if initialization of nl_table fails
> in initcalls. It is better than getting use after free crash later.
>
> Cc: Patrick McHardy <[EMAIL PROTECTED]>
> Cc: David Miller <[EMAIL PROTECTED]>
James Morris wrote:
> On Wed, 23 Aug 2006, Akinobu Mita wrote:
>
>
>>This patch makes crash happen if initialization of nl_table fails
>>in initcalls. It is better than getting use after free crash later.
>
>
>> nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL);
>
>
> Perhaps
On Wed, 23 Aug 2006, Akinobu Mita wrote:
> This patch makes crash happen if initialization of nl_table fails
> in initcalls. It is better than getting use after free crash later.
> nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL);
Perhaps it'd be better to declare this as an ar