[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=PAVfcX4ttUsSgm+A_WMYcfXt4FLvYunccgtjS@mail.gmail.com>
Date: Fri, 23 Jul 2010 21:05:31 +0800
From: Changli Gao <xiaosuo@...il.com>
To: Patrick McHardy <kaber@...sh.net>
Cc: Jan Engelhardt <jengelh@...ozas.de>,
"David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
"Pekka Savola (ipv6)" <pekkas@...core.fi>,
James Morris <jmorris@...ei.org>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] ip6tables: use skb->len for accounting
On Fri, Jul 23, 2010 at 7:48 PM, Patrick McHardy <kaber@...sh.net> wrote:
> On 23.07.2010 08:38, Changli Gao wrote:
>>
>> For the packets received, ip_rcv, ipv6_rcv and bridge all call
>> pskb_trim_rcsum before feeding them to netfilter. The raw packets are
>> sent via dev_queue_xmit(), and they don't pass through the output path
>> of netfilter.
>
> That's not true, raw packets also pass through netfilter. However
> I agree that this patch makes sense to properly deal with jumbo
> frames, but you should also update xt_length for consistency.
>
In order to support jumbo frames, we have to change the type of min
and max in xt_length_info to u32. I'll change xt_match.revision to 1,
do I need to support the current revision 0 at the same time?
--
Regards,
Changli Gao(xiaosuo@...il.com)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists