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>
Showing
- net/core/dst.c 17 additions, 3 deletionsnet/core/dst.c
- net/decnet/dn_route.c 2 additions, 0 deletionsnet/decnet/dn_route.c
- net/ipv4/route.c 47 additions, 31 deletionsnet/ipv4/route.c
- net/ipv6/route.c 7 additions, 1 deletionnet/ipv6/route.c
- net/xfrm/xfrm_policy.c 1 addition, 0 deletionsnet/xfrm/xfrm_policy.c
Loading
Please register or sign in to comment