Re: [PATCH v3 1/1] tcp: Honor the eor bit in tcp_mtu_probe

2018-02-08 Thread David Miller
From: Ilya Lesokhin Date: Wed, 7 Feb 2018 15:13:11 +0200 > +static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len) > +{ > + struct sk_buff *skb, *next; > + > + skb = tcp_send_head(sk); > + tcp_for_write_queue_from_safe(skb, next, sk) > + { Please format tcp_for_w

[PATCH v3 1/1] tcp: Honor the eor bit in tcp_mtu_probe

2018-02-07 Thread Ilya Lesokhin
Avoid SKB coalescing if eor bit is set in one of the relevant SKBs. Fixes: c134ecb87817 ("tcp: Make use of MSG_EOR in tcp_sendmsg") Signed-off-by: Ilya Lesokhin --- net/ipv4/tcp_output.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/net/ipv4/tcp_output.c b/net/i