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>
Sun, 11 Mar 2018 15:21:32 +0000 (16:21 +0100)
commit3efb90ae51210e4ba7d39f6cae297676541dc2d0
treedf8f964b2e8a7e7977b474a00ce8193530ef83fd
parent19d32133abf960fb49ebb423390f6d8b238423eb
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