From: Changli Gao Date: Tue, 29 Jun 2010 04:39:37 +0000 (+0000) Subject: fragment: add fast path for in-order fragments X-Git-Tag: v2.6.36-rc1~571^2~395 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6bebca92c663fb216c072193945946f3807ca7f;p=pandora-kernel.git 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 ---- 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 --- Reading git-diff-tree failed