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

2016-06-14 Thread David Miller
From: Steven Caron Date: Mon, 13 Jun 2016 14:01:19 + > 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

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

2016-06-13 Thread Hannes Frederic Sowa
On 13.06.2016 16:01, 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. > > Signe

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

2016-06-13 Thread Eric Dumazet
On Mon, 2016-06-13 at 14:01 +, 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.

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

2016-06-13 Thread Steven Caron
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 --- diff --git a/net/ipv4/ip_ou