summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/netcp_ethss.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-05-31 05:31:22 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-03 17:38:28 +0300
commit3dc9f558cdd2dfba06e021a6b85e990d1a0b2641 (patch)
treea5c3ded4c7d0075eff575e51f1dfb42fd4ab7276 /drivers/net/ethernet/ti/netcp_ethss.c
parent8cb77149e8c8c8f6fef67ac2749868c563a449c6 (diff)
downloadlinux-3dc9f558cdd2dfba06e021a6b85e990d1a0b2641.tar.xz
net/smc: fix error return code in smc_setsockopt()
Fix to return error code -EINVAL instead of 0 if optlen is invalid. Fixes: 01d2f7e2cdd3 ("net/smc: sockopts TCP_NODELAY and TCP_CORK") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/netcp_ethss.c')
0 files changed, 0 insertions, 0 deletions