Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/smc: fix error return code in smc_setsockopt()
Fix to return error code -EINVAL instead of 0 if optlen is invalid. Fixes: 01d2f7e ("net/smc: sockopts TCP_NODELAY and TCP_CORK") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information