From: Eric Dumazet <[email protected]>
Date: Mon, 02 May 2016 21:49:25 -0700

> From: Eric Dumazet <[email protected]>
> 
> Under high rx pressure, it is possible tcp_sendmsg() never has a
> chance to allocate an skb and loop forever as sk_flush_backlog()
> would always return true.
> 
> Fix this by calling sk_flush_backlog() only if one skb had been
> allocated and filled before last backlog check.
> 
> Fixes: d41a69f1d390 ("tcp: make tcp_sendmsg() aware of socket backlog")
> Signed-off-by: Eric Dumazet <[email protected]>

Applied.

Reply via email to