netfilter: nf_conntrack_reasm: add fast path for in-order fragments
authorChangli Gao <xiaosuo@gmail.com>
Mon, 5 Jul 2010 08:38:23 +0000 (10:38 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 5 Jul 2010 08:38:23 +0000 (10:38 +0200)
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>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found