inet: frags: use kmem_cache for inet_frag_queue
authorNikolay Aleksandrov <nikolay@redhat.com>
Fri, 1 Aug 2014 10:29:48 +0000 (12:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2014 22:31:31 +0000 (15:31 -0700)
commitd4ad4d22e7ac6b8711b35d7e86eb29f03f8ac153
tree929ebb9bc76b52037572bfb58475112989b51ba0
parent2e404f632f44979ddf0ce0808a438249a72d7015
inet: frags: use kmem_cache for inet_frag_queue

Use kmem_cache to allocate/free inet_frag_queue objects since they're
all the same size per inet_frags user and are alloced/freed in high volumes
thus making it a perfect case for kmem_cache.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
net/ieee802154/reassembly.c
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c