OSDN Git Service

tcp: do not try to defer skbs with eor mark (MSG_EOR)
authorEric Dumazet <edumazet@google.com>
Sun, 11 Nov 2018 14:41:29 +0000 (06:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 21:54:53 +0000 (13:54 -0800)
commit1c09f7d073b1d1ce85765c5552e4b40a6b6ba770
tree74234c3415f009f5bbe0be7e9dfa81a04e090dab
parent5e13a0d3f5c11df7eb297e6583cf874a79a00374
tcp: do not try to defer skbs with eor mark (MSG_EOR)

Applications using MSG_EOR are giving a strong hint to TCP stack :

Subsequent sendmsg() can not append more bytes to skbs having
the EOR mark.

Do not try to TSO defer suchs skbs, there is really no hope.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c