tcp: Honor the eor bit in tcp_mtu_probe
authorIlya Lesokhin <ilyal@mellanox.com>
Mon, 12 Feb 2018 10:57:04 +0000 (12:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 06:41:12 +0000 (22:41 -0800)
commit17634603d494978f5bf3ce9f261862c8f119af36
tree6fd1553aa4f885f6ebd66f4a36cf68a680e4ee65
parentdcb5da20ee3fdeb06dadb53c0102642d0a27ad23
tcp: Honor the eor bit in tcp_mtu_probe

[ Upstream commit 808cf9e38cd7923036a99f459ccc8cf2955e47af ]

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 <ilyal@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_output.c