aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2011-04-21 20:34:03 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-10 16:04:02 -0400
commit972a77fbf1bbea6f54b5986b05041a17b607695b (patch)
tree92cf6c72788652de9d8f6228c110bdc671a9f1fe /net/l2tp/l2tp_core.c
parent1209966cd5d2ec7f89ad2ed58a6a342aa8ea8712 (diff)
downloadkernel_samsung_smdk4412-972a77fbf1bbea6f54b5986b05041a17b607695b.zip
kernel_samsung_smdk4412-972a77fbf1bbea6f54b5986b05041a17b607695b.tar.gz
kernel_samsung_smdk4412-972a77fbf1bbea6f54b5986b05041a17b607695b.tar.bz2
tipc: Revise timings used when sending link request messages
Revises the algorithm governing the sending of link request messages to take into account the number of nodes each bearer is currently in contact with, and to ensure more rapid rediscovery of neighboring nodes if a bearer fails and then recovers. The discovery object now sends requests at least once a second if it is not in contact with any other nodes, and at least once a minute if it has at least one neighbor; if contact with the only neighbor is lost, the object immediately reverts to its initial rapid-fire search timing to accelerate the rediscovery process. In addition, the discovery object now stops issuing link request messages if it is in contact with the only neighboring node it is configured to communicate with, since further searching is unnecessary. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
0 files changed, 0 insertions, 0 deletions