linux/net/tipc
Jon Paul Maloy 75b44b018e tipc: simplify link timer handling
Prior to this commit, the link timer has been running at a "continuity
interval" of configured link tolerance/4. When a timer wakes up and
discovers that there has been no sign of life from the peer during the
previous interval, it divides its own timer interval by another factor
four, and starts sending one probe per new interval. When the configured
link tolerance time has passed without answer, i.e. after 16 unacked
probes, the link is declared faulty and reset.

This is unnecessary complex. It is sufficient to continue with the
original continuity interval, and instead reset the link after four
missed probe responses. This makes the timer handling in the link
simpler, and opens up for some planned later changes in this area.
This commit implements this change.

Reviewed-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-14 12:24:45 -04:00
..
Kconfig
Makefile
addr.c tipc: fix two bugs in secondary destination lookup 2015-03-29 13:47:36 -07:00
addr.h tipc: fix two bugs in secondary destination lookup 2015-03-29 13:47:36 -07:00
bcast.c tipc: add broadcast link window set/get to nl api 2015-05-09 16:40:02 -04:00
bcast.h tipc: add broadcast link window set/get to nl api 2015-05-09 16:40:02 -04:00
bearer.c tipc: simplify resetting and disabling of bearers 2015-05-14 12:24:45 -04:00
bearer.h
core.c tipc: rename functions defined in subscr.c 2015-05-04 15:04:00 -04:00
core.h
discover.c
discover.h
eth_media.c
ib_media.c
link.c tipc: simplify link timer handling 2015-05-14 12:24:45 -04:00
link.h tipc: simplify resetting and disabling of bearers 2015-05-14 12:24:45 -04:00
msg.c tipc: eliminate delayed link deletion at link failover 2015-04-02 16:27:12 -04:00
msg.h tipc: eliminate delayed link deletion at link failover 2015-04-02 16:27:12 -04:00
name_distr.c
name_distr.h
name_table.c tipc: rename functions defined in subscr.c 2015-05-04 15:04:00 -04:00
name_table.h
net.c
net.h
netlink.c
netlink.h
netlink_compat.c tipc: send explicit not supported error in nl compat 2015-05-09 16:40:03 -04:00
node.c tipc: simplify link mtu negotiation 2015-04-02 16:27:12 -04:00
node.h
server.c tipc: deal with return value of tipc_conn_new callback 2015-05-04 15:04:01 -04:00
server.h
socket.c net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
socket.h
subscr.c tipc: adjust locking policy of subscription 2015-05-04 15:04:01 -04:00
subscr.h tipc: rename functions defined in subscr.c 2015-05-04 15:04:00 -04:00
sysctl.c
udp_media.c udp_tunnel: Pass UDP socket down through udp_tunnel{, 6}_xmit_skb(). 2015-04-07 15:29:08 -04:00