diff options
| author | Florian Westphal <[email protected]> | 2020-08-25 23:31:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-08-26 22:48:44 +0000 |
| commit | 1cec170d458b1d18f6f1654ca84c0804a701c5ef (patch) | |
| tree | f81177ef63d19aad1a1521f17db4261b846cd9e7 /drivers/net/wan/lapbether.c | |
| parent | taprio: Fix using wrong queues in gate mask (diff) | |
| download | kernel-1cec170d458b1d18f6f1654ca84c0804a701c5ef.tar.gz kernel-1cec170d458b1d18f6f1654ca84c0804a701c5ef.zip | |
mptcp: free acked data before waiting for more memory
After subflow lock is dropped, more wmem might have been made available.
This fixes a deadlock in mptcp_connect.sh 'mmap' mode: wmem is exhausted.
But as the mptcp socket holds on to already-acked data (for retransmit)
no wakeup will occur.
Using 'goto restart' calls mptcp_clean_una(sk) which will free pages
that have been acked completely in the mean time.
Fixes: fb529e62d3f3 ("mptcp: break and restart in case mptcp sndbuf is full")
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
