tcp: Fix tcp_v4_rcv()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 9 Mar 2010 05:55:56 +0000 (05:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2010 15:32:27 +0000 (07:32 -0800)
commitbb134d5d9580fc7b945e3bca3c4b263947022966
tree65f68dd2c96566c507854e4145af1b533e30833d
parentfe234f0e5cbb880792d2d1ac0743cf8c07e9dde3
tcp: Fix tcp_v4_rcv()

Commit d218d111 (tcp: Generalized TTL Security Mechanism) added a bug
for TIMEWAIT sockets. We should not test min_ttl for TW sockets.

Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c