lkml.org 
[lkml]   [2010]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] net/ipv4 : Correct the size argument to kzalloc
Julia Lawall wrote:
> From: Julia Lawall <julia@diku.dk>
>
> obj has type struct snmp_object **, not struct snmp_object *. But indeed
> it is not even clear why kmalloc is needed. The memory is freed by the end
> of the function, so the local variable of pointer type should be sufficient.

Thanks. As this is basically just an unneeded and oversized allocation
without any bad consequences, I've applied it to nf-next-2.6.git.




\
 
 \ /
  Last update: 2010-01-04 15:25    [W:0.032 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site