[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141007.151310.1935755900721864640.davem@davemloft.net>
Date: Tue, 07 Oct 2014 15:13:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: fw@...len.de, netfilter-devel@...r.kernel.org, bsd@...hat.com,
stephen@...workplumber.org, netdev@...r.kernel.org,
eric.dumazet@...il.com, davidn@...idnewall.com
Subject: Re: bridge: Save frag_max_size between PRE_ROUTING and POST_ROUTING
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Sun, 5 Oct 2014 12:00:22 +0800
> bridge: Save frag_max_size between PRE_ROUTING and POST_ROUTING
>
> As we may defragment the packet in IPv4 PRE_ROUTING and refragment
> it after POST_ROUTING we should save the value of frag_max_size.
>
> This is still very wrong as the bridge is supposed to leave the
> packets intact, meaning that the right thing to do is to use the
> original frag_list for fragmentation.
>
> Unfortunately we don't currently guarantee that the frag_list is
> left untouched throughout netfilter so until this changes this is
> the best we can do.
>
> There is also a spot in FORWARD where it appears that we can
> forward a packet without going through fragmentation, mark it
> so that we can fix it later.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks Herbert.
--
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