aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter/nf_flow_table_offload.c
diff options
context:
space:
mode:
authorGravatar Jakub Kicinski <kuba@kernel.org> 2023-06-21 22:44:59 -0700
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-06-21 22:45:00 -0700
commit533aa0baaa1fe1f9f7f3ae0a368c22df8f3cf127 (patch)
treefb1230e45df2a73eb6443f9c89793f4c6fb10d3c /net/netfilter/nf_flow_table_offload.c
parentMerge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf... (diff)
parentmptcp: ensure listener is unhashed before updating the sk status (diff)
downloadlinux-533aa0baaa1fe1f9f7f3ae0a368c22df8f3cf127.tar.gz
linux-533aa0baaa1fe1f9f7f3ae0a368c22df8f3cf127.tar.bz2
linux-533aa0baaa1fe1f9f7f3ae0a368c22df8f3cf127.zip
Merge branch 'mptcp-fixes-for-6-4'
Matthieu Baerts says: ==================== mptcp: fixes for 6.4 Patch 1 correctly handles disconnect() failures that can happen in some specific cases: now the socket state is set as unconnected as expected. That fixes an issue introduced in v6.2. Patch 2 fixes a divide by zero bug in mptcp_recvmsg() with a fix similar to a recent one from Eric Dumazet for TCP introducing sk_wait_pending flag. It should address an issue present in MPTCP from almost the beginning, from v5.9. Patch 3 fixes a possible list corruption on passive MPJ even if the race seems very unlikely, better be safe than sorry. The possible issue is present from v5.17. Patch 4 consolidates fallback and non fallback state machines to avoid leaking some MPTCP sockets. The fix is likely needed for versions from v5.11. Patch 5 drops code that is no longer used after the introduction of patch 4/6. This is not really a fix but this patch can probably land in the -net tree as well not to leave unused code. Patch 6 ensures listeners are unhashed before updating their sk status to avoid possible deadlocks when diag info are going to be retrieved with a lock. Even if it should not be visible with the way we are currently getting diag info, the issue is present from v5.17. ==================== Link: https://lore.kernel.org/r/20230620-upstream-net-20230620-misc-fixes-for-v6-4-v1-0-f36aa5eae8b9@tessares.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netfilter/nf_flow_table_offload.c')
0 files changed, 0 insertions, 0 deletions