Wei Yongjun 3dc9f558cd 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>
2018-06-03 10:38:28 -04:00
..
2017-07-29 11:22:58 -07:00
2018-05-23 16:02:35 -04:00
2018-05-23 16:02:35 -04:00
2018-05-23 16:02:35 -04:00
2018-05-04 11:45:06 -04:00
2018-05-23 16:02:35 -04:00
2018-05-23 16:02:35 -04:00
2018-05-02 13:29:12 -04:00
2018-05-23 16:02:35 -04:00