]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tcp: call tcp_drop() from tcp_data_queue_ofo()
authorEric Dumazet <edumazet@google.com>
Mon, 23 Jul 2018 16:28:20 +0000 (09:28 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 26 Jul 2018 15:25:51 +0000 (17:25 +0200)
commit4e236c9541f636771049634223257c8b04ac28c0
treeebcd44a2a82343602924958d83bf99caab113748
parent778c97d3fcd9d6ac447608ef001ad581d0a9aa9f
tcp: call tcp_drop() from tcp_data_queue_ofo()

In order to be able to give better diagnostics and detect
malicious traffic, we need to have better sk->sk_drops tracking.

Fixes: 9f5afeae5152 ("tcp: use an RB tree for ooo receive queue")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
CVE-2018-5390

(cherry picked from commit 8541b21e781a22dce52a74fef0b9bed00404a1cd)
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/ipv4/tcp_input.c