From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] nf_conntrack_reasm: add fast path for in-order fragments Date: Fri, 02 Jul 2010 09:53:20 +0200 Message-ID: <4C2D9AF0.3030208@trash.net> References: <1277956710-22313-1-git-send-email-xiaosuo@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , Alexey Kuznetsov , "Pekka Savola (ipv6)" , James Morris , Hideaki YOSHIFUJI , Eric Dumazet , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, Mitchell Erblich To: Changli Gao Return-path: Received: from stinky.trash.net ([213.144.137.162]:44394 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753257Ab0GBHxV (ORCPT ); Fri, 2 Jul 2010 03:53:21 -0400 In-Reply-To: <1277956710-22313-1-git-send-email-xiaosuo@gmail.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Changli Gao wrote: > 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. > > I'll apply this when merging with net-next the next time since this depends on your "fragment: add fast path for in-order fragments" patch.