ipvs: avoid kmem_cache_zalloc in ip_vs_conn_new
authorJulian Anastasov <ja@ssi.bg>
Thu, 21 Mar 2013 09:58:12 +0000 (11:58 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:46 +0000 (00:23 +0200)
commit9a05475cebdd6341884b5901e53870be26e65158
tree26472546bb3f5e0c49e147790859fc7b7e307789
parent1845ed0bb29fa7864781021e0c8d06af318f358a
ipvs: avoid kmem_cache_zalloc in ip_vs_conn_new

We have many fields to set and few to reset,
use kmem_cache_alloc instead to save some cycles.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_conn.c