commit | ea8fbe8f198edea19116d4b61267e12235513225 | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Mon Jul 05 10:38:23 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Mon Jul 05 10:38:23 2010 +0200 |
tree | e9fae0d935a083b8db23dbe02e0bd1b61fe4fc2a | |
parent | 39827be26b36ef9cdbc661c92a269e0484cd9ef5 [diff] |
netfilter: nf_conntrack_reasm: 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> Signed-off-by: Patrick McHardy <kaber@trash.net>