Merge "net: tcp: check for NULL send head during MTU probe"
This commit is contained in:
commit
9585c2cb84
@ -2071,6 +2071,9 @@ static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len)
|
||||
struct sk_buff *skb, *next;
|
||||
|
||||
skb = tcp_send_head(sk);
|
||||
if (!skb)
|
||||
return false;
|
||||
|
||||
tcp_for_write_queue_from_safe(skb, next, sk) {
|
||||
if (len <= skb->len)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user