[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180805.172141.1421333455975358998.davem@davemloft.net>
Date: Sun, 05 Aug 2018 17:21:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fw@...len.de
Cc: netdev@...r.kernel.org, posk@...gle.com, edumazet@...gle.com
Subject: Re: [PATCH net-next v3] ipv6: defrag: drop non-last frags smaller
than min mtu
From: Florian Westphal <fw@...len.de>
Date: Fri, 3 Aug 2018 02:22:20 +0200
> don't bother with pathological cases, they only waste cycles.
> IPv6 requires a minimum MTU of 1280 so we should never see fragments
> smaller than this (except last frag).
>
> v3: don't use awkward "-offset + len"
> v2: drop IPv4 part, which added same check w. IPV4_MIN_MTU (68).
> There were concerns that there could be even smaller frags
> generated by intermediate nodes, e.g. on radio networks.
>
> Cc: Peter Oskolkov <posk@...gle.com>
> Cc: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Florian Westphal <fw@...len.de>
Applied, thanks Florian.
Powered by blists - more mailing lists