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
Resubmitting with signoff.
This is a fix for malformed UFO packets seen when using NFS over UDP.
It's in the same vein as and complements d9be4f7a6f5a8da3.
net/ipv4/ip_output.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Thanks,
Steven
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.
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
inde
Hi Hannes,
It's a very simple patch which was already included in the original email.
The patch is from Linux 4.7-rc1.
net/ipv4/ip_output.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Thanks,
Steven