]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite152fc037141e59f9a2e809b92f1eda2e8c5403a
treef8c86cc60798db9e4469031a8dceb5fcb512fb81
parentd5c72eba05d3c6b382f11f6b7b2617c467e5a329
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