summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGang Yan <yangang@kylinos.cn>2026-04-27 22:54:34 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-29 04:36:27 +0300
commitb5c52908d52c6c8eb8933264aa6087a0600fd892 (patch)
tree425819243d9dc066614e36b6670b6d0cf6498aa0 /include
parent5f95c21fc23a7ef22b4d27d1ed9bb55557ffb926 (diff)
downloadlinux-b5c52908d52c6c8eb8933264aa6087a0600fd892.tar.xz
mptcp: fix scheduling with atomic in timestamp sockopt
Using lock_sock_fast() (atomic context) around sock_set_timestamp() and sock_set_timestamping() is unsafe, as both helpers can sleep. Replace lock_sock_fast() with sleepable lock_sock()/release_sock() to avoid scheduling while atomic panic. Fixes: 9061f24bf82e ("mptcp: sockopt: propagate timestamp request to subflows") Cc: stable@vger.kernel.org Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/patchset/20260420093343.16443-1-gang.yan@linux.dev Signed-off-by: Gang Yan <yangang@kylinos.cn> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260427-net-mptcp-misc-fixes-7-1-rc2-v1-2-7432b7f279fa@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions