diff options
| author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2026-05-05 17:00:51 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-06 18:16:44 -0700 |
| commit | 5cd6e0ad79d2615264f63929f8b457ad97ae550d (patch) | |
| tree | 2377b3a62992b0e5e779e012e8f7f893090931f6 /scripts/dummy-tools/python3 | |
| parent | 03f324f3f1f7619a47b9c91282cb12775ab0a2f1 (diff) | |
mptcp: pm: ADD_ADDR rtx: fix potential data-race
This mptcp_pm_add_timer() helper is executed as a timer callback in
softirq context. To avoid any data races, the socket lock needs to be
held with bh_lock_sock().
If the socket is in use, retry again soon after, similar to what is done
with the keepalive timer.
Fixes: 00cfd77b9063 ("mptcp: retransmit ADD_ADDR when timeout")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260505-net-mptcp-pm-fixes-7-1-rc3-v1-3-fca8091060a4@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
