OSDN Git Service

Fix backport of "tcp: detect malicious patterns in tcp_collapse_ofo_queue()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jul 2018 11:58:53 +0000 (13:58 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 Jul 2018 12:12:28 +0000 (14:12 +0200)
commitc4067f44efd01ef002d88d7c70c90373c1b358fe
treed486dc591d3cf7318d02c006e58d0237b8240bea
parent14e0533779770031121dd695807c9f55525c61e9
Fix backport of "tcp: detect malicious patterns in tcp_collapse_ofo_queue()"

Based on review from Eric Dumazet, my backport of commit
3d4bf93ac12003f9b8e1e2de37fe27983deebdcf to older kernels was a bit
incorrect.  This patch fixes this.

Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
net/ipv4/tcp_input.c