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
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