Re: [PATCH net] mptcp: free acked data before waiting for more memory

2020-08-26 Thread David Miller
From: Florian Westphal Date: Wed, 26 Aug 2020 01:31:05 +0200 > 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 wak

[PATCH net] mptcp: free acked data before waiting for more memory

2020-08-25 Thread Florian Westphal
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 wil