]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: keepalive cleanups
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 29 Aug 2009 06:48:54 +0000 (23:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:48:54 +0000 (23:48 -0700)
commitf0c0559ab50864041c79312dfd68d266eb652380
tree59654abf9eb5dc58c9f8773dde5738b5bcb18312
parent24dd4ce71f3f368cb7390618da203b5341ef986a
tcp: keepalive cleanups

Introduce keepalive_probes(tp) helper, and use it, like
keepalive_time_when(tp) and keepalive_intvl_when(tp)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_timer.c