aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4vf
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-06-29 04:39:37 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-30 13:44:29 -0700
commitd6bebca92c663fb216c072193945946f3807ca7f (patch)
treefd797f062fa19d2ee470cf33c9b475bff08e2545 /drivers/net/cxgb4vf
parent4ce3c183fcade7f4b30a33dae90cd774c3d9e094 (diff)
downloadkernel_samsung_smdk4412-d6bebca92c663fb216c072193945946f3807ca7f.tar.gz
kernel_samsung_smdk4412-d6bebca92c663fb216c072193945946f3807ca7f.tar.bz2
kernel_samsung_smdk4412-d6bebca92c663fb216c072193945946f3807ca7f.zip
fragment: add fast path for in-order fragments
add fast path for in-order fragments As the fragments are sent in order in most of OSes, such as Windows, Darwin and FreeBSD, it is likely the new fragments are at the end of the inet_frag_queue. In the fast path, we check if the skb at the end of the inet_frag_queue is the prev we expect. Signed-off-by: Changli Gao <xiaosuo@gmail.com> ---- include/net/inet_frag.h | 1 + net/ipv4/ip_fragment.c | 12 ++++++++++++ net/ipv6/reassembly.c | 11 +++++++++++ 3 files changed, 24 insertions(+) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4vf')
0 files changed, 0 insertions, 0 deletions