tcp: Fix tcp_v4_rcv()
authorEric Dumazet <[email protected]>
Tue, 9 Mar 2010 05:55:56 +0000 (05:55 +0000)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/tcp_ipv4.c