[Intel-wired-lan] [RFC v3 net-next 01/18] sock: Fix SO_ZEROCOPY switch case

Willem de Bruijn willemdebruijn.kernel at gmail.com
Wed Mar 7 16:58:52 UTC 2018


On Tue, Mar 6, 2018 at 8:12 PM, Jesus Sanchez-Palencia
<jesus.sanchez-palencia at intel.com> wrote:
> Fix the SO_ZEROCOPY switch case on sock_setsockopt() avoiding the
> ret values to be overwritten by the one set on the default case.
>
> Fixes: 28190752c7092 ("sock: permit SO_ZEROCOPY on PF_RDS socket")
> Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia at intel.com>

Acked-by: Willem de Bruijn <willemb at google.com>

Please send this fix to net-next independent from the rest of the patchset.


More information about the Intel-wired-lan mailing list