From: Hannes Frederic Sowa <[email protected]>
Date: Mon, 22 Feb 2016 18:43:25 +0100
> Otherwise we break the contract with GSO to only pass CHECKSUM_PARTIAL
> skbs down. This can easily happen with UDP+IPv4 sockets with the first
> MSG_MORE write smaller than the MTU, second write is a sendfile.
>
> Returning -EOPNOTSUPP lets the callers fall back into normal sendmsg path,
> were we calculate the checksum manually during copying.
>
> Commit d749c9cbffd6 ("ipv4: no CHECKSUM_PARTIAL on MSG_MORE corked
> sockets") started to exposes this bug.
>
> Fixes: d749c9cbffd6 ("ipv4: no CHECKSUM_PARTIAL on MSG_MORE corked sockets")
> Reported-by: Jiri Benc <[email protected]>
> Cc: Jiri Benc <[email protected]>
> Reported-by: Wakko Warner <[email protected]>
> Cc: Wakko Warner <[email protected]>
> Signed-off-by: Hannes Frederic Sowa <[email protected]>
Applied and queued up for -stable, thanks.