Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'mptcp-misc-fixes-for-v6-17-rc6'

Matthieu Baerts says:

====================
mptcp: misc fixes for v6.17-rc6

Here are various unrelated fixes:

- Patch 1: Fix a wrong attribute type in the MPTCP Netlink specs. A fix
for v6.7.

- Patch 2: Avoid mentioning a deprecated MPTCP sysctl knob in the doc. A
fix for v6.15.

- Patch 3: Handle new warnings from ShellCheck v0.11.0. This prevents
some warnings reported by some CIs. If it is not a good material for
'net', please drop.
====================

Link: https://patch.msgid.link/20250908-net-mptcp-misc-fixes-6-17-rc5-v1-0-5f2168a66079@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+14 -13
+1 -1
Documentation/netlink/specs/mptcp_pm.yaml
··· 256 256 type: u32 257 257 - 258 258 name: if-idx 259 - type: u32 259 + type: s32 260 260 - 261 261 name: reset-reason 262 262 type: u32
+4 -4
Documentation/networking/mptcp.rst
··· 60 60 and the server side that announces additional addresses via the ``ADD_ADDR`` and 61 61 ``REMOVE_ADDR`` options. 62 62 63 - Path managers are controlled by the ``net.mptcp.pm_type`` sysctl knob -- see 64 - mptcp-sysctl.rst. There are two types: the in-kernel one (type ``0``) where the 65 - same rules are applied for all the connections (see: ``ip mptcp``) ; and the 66 - userspace one (type ``1``), controlled by a userspace daemon (i.e. `mptcpd 63 + Path managers are controlled by the ``net.mptcp.path_manager`` sysctl knob -- 64 + see mptcp-sysctl.rst. There are two types: the in-kernel one (``kernel``) where 65 + the same rules are applied for all the connections (see: ``ip mptcp``) ; and the 66 + userspace one (``userspace``), controlled by a userspace daemon (i.e. `mptcpd 67 67 <https://mptcpd.mptcp.dev/>`_) where different rules can be applied for each 68 68 connection. The path managers can be controlled via a Netlink API; see 69 69 netlink_spec/mptcp_pm.rst.
+1 -1
tools/testing/selftests/net/mptcp/diag.sh
··· 28 28 } 29 29 30 30 # This function is used in the cleanup trap 31 - #shellcheck disable=SC2317 31 + #shellcheck disable=SC2317,SC2329 32 32 cleanup() 33 33 { 34 34 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
+1 -1
tools/testing/selftests/net/mptcp/mptcp_connect.sh
··· 134 134 TEST_GROUP="" 135 135 136 136 # This function is used in the cleanup trap 137 - #shellcheck disable=SC2317 137 + #shellcheck disable=SC2317,SC2329 138 138 cleanup() 139 139 { 140 140 rm -f "$cin_disconnect"
+1 -1
tools/testing/selftests/net/mptcp/mptcp_join.sh
··· 8 8 9 9 # ShellCheck incorrectly believes that most of the code here is unreachable 10 10 # because it's invoked by variable name, see how the "tests" array is used 11 - #shellcheck disable=SC2317 11 + #shellcheck disable=SC2317,SC2329 12 12 13 13 . "$(dirname "${0}")/mptcp_lib.sh" 14 14
+1 -1
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh
··· 95 95 } 96 96 97 97 # This function is used in the cleanup trap 98 - #shellcheck disable=SC2317 98 + #shellcheck disable=SC2317,SC2329 99 99 cleanup() 100 100 { 101 101 mptcp_lib_ns_exit "${ns1}" "${ns2}" "${ns_sbox}"
+3 -2
tools/testing/selftests/net/mptcp/pm_netlink.sh
··· 32 32 err=$(mktemp) 33 33 34 34 # This function is used in the cleanup trap 35 - #shellcheck disable=SC2317 35 + #shellcheck disable=SC2317,SC2329 36 36 cleanup() 37 37 { 38 38 rm -f "${err}" ··· 70 70 mptcp_lib_pm_nl_format_endpoints "${@}" 71 71 } 72 72 73 + # This function is invoked indirectly 74 + #shellcheck disable=SC2317,SC2329 73 75 get_endpoint() { 74 - # shellcheck disable=SC2317 # invoked indirectly 75 76 mptcp_lib_pm_nl_get_endpoint "${ns1}" "${@}" 76 77 } 77 78
+1 -1
tools/testing/selftests/net/mptcp/simult_flows.sh
··· 35 35 } 36 36 37 37 # This function is used in the cleanup trap 38 - #shellcheck disable=SC2317 38 + #shellcheck disable=SC2317,SC2329 39 39 cleanup() 40 40 { 41 41 rm -f "$cout" "$sout"
+1 -1
tools/testing/selftests/net/mptcp/userspace_pm.sh
··· 94 94 } 95 95 96 96 # This function is used in the cleanup trap 97 - #shellcheck disable=SC2317 97 + #shellcheck disable=SC2317,SC2329 98 98 cleanup() 99 99 { 100 100 print_title "Cleanup"