netfilter: nf_conntrack_tcp: decrease timeouts while data in unacknowledged
commitae375044d31075a31de5a839e07ded7f67b660aa
authorPatrick McHardy <kaber@trash.net>
Thu, 31 Jul 2008 07:38:01 +0000 (31 00:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2008 07:38:01 +0000 (31 00:38 -0700)
tree13f49a97aa48fa8f19cbe7055e0b5e4df3abc462
parenta97a6f10771b90235b33c13a6db9279237a08422
netfilter: nf_conntrack_tcp: decrease timeouts while data in unacknowledged

In order to time out dead connections quicker, keep track of outstanding data
and cap the timeout.

Suggested by Herbert Xu.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nf_conntrack_tcp.h
net/netfilter/nf_conntrack_proto_tcp.c