diff options
author | Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com> | 2018-03-07 09:40:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 15:54:46 -0500 |
commit | 334e6413134bf8335ec93a9e60213cbc61ef7a62 (patch) | |
tree | 25c4f939120aa1b81d8e544255d4e3f0c6b5e6bf /kernel | |
parent | 92dbb332a20959cde960a5acbacc0bbefdc07038 (diff) |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions