Re: [PATCH v1 1/1] ipv4: Prevent malformed UFO fragments in ip_append_page

From: Eric Dumazet
Date: Mon Jun 13 2016 - 11:16:51 EST


On Mon, 2016-06-13 at 14:01 +0000, Steven Caron wrote:
> As the ip fragment offset field counts 8-byte chunks, non-final ip
> fragments must be multiples of 8 bytes of payload. Depending on the
> mtu and ip option sizes, ip_append_page wasn't respecting this,
> notably when running NFS under UDP.
>
> Signed-off-by: Steven Caron <steven.caron@xxxxxxxxxxx>
> ---

Acked-by: Eric Dumazet <edumazet@xxxxxxxxxx>