mptcp: cleanup writer wake-up
authorPaolo Abeni <pabeni@redhat.com>
Fri, 1 Mar 2024 17:43:44 +0000 (18:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2024 10:50:28 +0000 (10:50 +0000)
commit037db6ea57da7a134a8183dead92d64ef92babee
tree2fdc9e89f0af7bf2bd3ecb590a605fb0414eae64
parent26b5df99bf603d3eb1a0acae239192e7d01c6b0e
mptcp: cleanup writer wake-up

After commit 5cf92bbadc58 ("mptcp: re-enable sndbuf autotune"), the
MPTCP_NOSPACE bit is redundant: it is always set and cleared together with
SOCK_NOSPACE.

Let's drop the first and always relay on the latter, dropping a bunch
of useless code.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c
net/mptcp/protocol.h