]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-take-care-of-empty-skbs-in-write-queue'
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 14 Dec 2019 17:57:36 +0000 (09:57 -0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 14 Dec 2019 17:57:36 +0000 (09:57 -0800)
commit9911cf4e55304e9266592b33d3170931dac09970
tree99e290567b1943af5cf51b3cdfbf9f8f3752b6e8
parent238b6620bbc5209a4a89c0addf69b4125e9bbd12
parent9497df1c949d6699ab21c8c98c43e22bd1992ffe
Merge branch 'tcp-take-care-of-empty-skbs-in-write-queue'

Eric Dumazet says:
====================
tcp: take care of empty skbs in write queue

We understood recently that TCP sockets could have an empty
skb at the tail of the write queue, leading to various problems.

This patch series :

1) Make sure we do not send an empty packet since this
   was unintended and causing crashes in old kernels.

2) Change tcp_write_queue_empty() to not be fooled by
   the presence of an empty skb.

3) Fix a bug that could trigger suboptimal epoll()
   application behavior under memory pressure.
====================

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>