From: Hannes Frederic Sowa <han...@stressinduktion.org> 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 <jb...@redhat.com> > Cc: Jiri Benc <jb...@redhat.com> > Reported-by: Wakko Warner <wa...@animx.eu.org> > Cc: Wakko Warner <wa...@animx.eu.org> > Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org> Applied and queued up for -stable, thanks.