mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
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>
This commit is contained in:
parent
1845ed0bb2
commit
9a05475ceb
2 changed files with 34 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue