summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2026-02-06 14:09:24 +0100
committerJakub Kicinski <kuba@kernel.org>2026-02-10 19:54:21 -0800
commite5e2e4300228a501b63cd4da13173371a40fea4b (patch)
treed4cd52241a5c986bb5086ce5e63dda44d4ffc0aa /drivers
parentf2c7fdebf03986cd820028ab933afad670bfe8a2 (diff)
mptcp: allow overridden write_space to be invoked
Future extensions with psock will override their own sk->sk_write_space callback. This patch ensures that the overridden sk_write_space can be invoked by MPTCP. INDIRECT_CALL is used to keep the default path optimised. Note that sk->sk_write_space was never called directly with MPTCP sockets, so changing it to sk_stream_write_space in the init, and using it from mptcp_write_space() is not supposed to change the current behaviour. This patch is shared early to ease discussions around future RFC and avoid confusions with this "fix" that is needed for different future extensions. Suggested-by: Paolo Abeni <pabeni@redhat.com> Co-developed-by: Gang Yan <yangang@kylinos.cn> Signed-off-by: Gang Yan <yangang@kylinos.cn> Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260206-net-next-mptcp-write_space-override-v2-1-e0b12be818c6@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions