]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add SNDTIMEO setsockopt support
authorGeliang Tang <geliang.tang@suse.com>
Wed, 16 Feb 2022 02:11:23 +0000 (18:11 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Feb 2022 04:52:03 +0000 (20:52 -0800)
commit5d8396da848f9174ce4eb1fb80e7247544affe5f
treef85cc2acd866a4e21aba446b90c7b9915cb4f223
parentb59ddb7c77ec050d352f73b3aa478724261fd179
mptcp: add SNDTIMEO setsockopt support

Add setsockopt support for SO_SNDTIMEO_OLD and SO_SNDTIMEO_NEW to fix this
error reported by the mptcp bpf selftest:

 (network_helpers.c:64: errno: Operation not supported) Failed to set SO_SNDTIMEO
 test_mptcp:FAIL:115

 All error logs:

 (network_helpers.c:64: errno: Operation not supported) Failed to set SO_SNDTIMEO
 test_mptcp:FAIL:115
 Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/sockopt.c