Re: [patch 1/1] net/ipv4/netfilter/nf_nat_snmp_basic.c: correct the size argument to kzalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
> On Wed, 03 Feb 2010 01:37:20 +0100
> Patrick McHardy <kaber@xxxxxxxxx> wrote:
> 
>> akpm@xxxxxxxxxxxxxxxxxxxx wrote:
>>> From: Julia Lawall <julia@xxxxxxx>
>>>
>>> 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.
>> This one is already queued in nf-next-2.6.git.
> 
> Recently?  It wasn't in today's linux-next.
> 

Actually I haven't merged it to Dave yet, but I will do so soon.
Its queued and safe however :)
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux