Jesus Sanchez-Palencia 334e641313 sock: Fix SO_ZEROCOPY switch case
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@intel.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-07 15:54:46 -05:00
..
2018-02-15 14:29:27 -08:00
2018-03-05 10:48:27 -05:00
2018-03-05 10:48:27 -05:00
2018-03-07 15:54:46 -05:00
2018-03-05 10:48:28 -05:00
2017-11-01 12:19:03 +09:00
2018-02-27 11:01:35 -05:00
2018-03-05 10:43:37 -05:00
2017-11-08 16:12:33 +09:00
2018-02-13 10:36:08 -05:00
2018-02-27 14:41:48 -05:00
2018-02-20 13:51:47 -05:00
2018-02-01 09:51:57 -08:00
2018-02-13 10:36:05 -05:00