Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: fb529e6 ("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]>
- Loading branch information