diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-07-16 16:54:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-20 20:41:16 -0700 |
commit | 333ef69ed2121f535e00ceb26e095d3745584c6e (patch) | |
tree | 66d96fcb99e6fa8aa9781c7a94032190606c72a8 /net/tipc/name_distr.c | |
parent | 6ab30f9cbe134d19559f48dc748587d036529aaf (diff) | |
download | talos-op-linux-333ef69ed2121f535e00ceb26e095d3745584c6e.tar.gz talos-op-linux-333ef69ed2121f535e00ceb26e095d3745584c6e.zip |
tipc: simplify link timer implementation
We create a second, simpler, link timer function, tipc_link_timeout().
The new function makes use of the new FSM function introduced in the
previous commit, and just like it, takes a buffer queue as parameter.
It returns an event bit field and potentially a link protocol packet
to the caller.
The existing timer function, link_timeout(), is still needed for a
while, so we redesign it to become a wrapper around the new function.
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>
Diffstat (limited to 'net/tipc/name_distr.c')
0 files changed, 0 insertions, 0 deletions