]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ipv4: use skb coalescing in defragmentation
authorEric Dumazet <edumazet@google.com>
Sat, 19 May 2012 03:02:20 +0000 (03:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2012 22:34:57 +0000 (18:34 -0400)
commit3cc4949269e01f39443d0fcfffb5bc6b47878d45
treec83d9410536d3fa4308781a8f36baab09a2144a1
parentbad43ca8325f493dcaa0896c2f036276af059c7e
ipv4: use skb coalescing in defragmentation

ip_frag_reasm() can use skb_try_coalesce() to build optimized skb,
reducing memory used by them (truesize), and reducing number of cache
line misses and overhead for the consumer.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c