]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - net/ipv4/route.c
net: Use non-zero allocations in dst_alloc().
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2011 21:31:47 +0000 (14:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2011 05:26:00 +0000 (22:26 -0700)
commitcf91166223772ef4a2ed98b9874958bf6a2470df
treef8c86cc60798db9e4469031a8dceb5fcb512fb81
parent5c1e6aa300a7a669dc469d2dcb20172c6bd8fed9
net: Use non-zero allocations in dst_alloc().

Make dst_alloc() and it's users explicitly initialize the entire
entry.

The zero'ing done by kmem_cache_zalloc() was almost entirely
redundant.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dst.c
net/decnet/dn_route.c
net/ipv4/route.c
net/ipv6/route.c
net/xfrm/xfrm_policy.c