diff options
| author | David S. Miller <davem@davemloft.net> | 2014-01-07 18:44:35 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-01-07 18:44:35 -0500 |
| commit | 8752b5caed54baa36c056b5c279ccdcf2805b9f6 (patch) | |
| tree | a60f322078d1d53319ef2ece706ac96470bf3cc0 /net/tipc/node.c | |
| parent | fd44b93cb5eee218231f6ce5883df937b3b9c3eb (diff) | |
| parent | 581465fa285863344efc233bc546823bfabd295f (diff) | |
Merge branch 'tipc'
Jon Maloy says:
====================
tipc: link setup and failover improvements
This series consists of four unrelated commits with different purposes.
- Commit #1 is purely cosmetic and pedagogic, hopefully making the
failover/tunneling logics slightly easier to understand.
- Commit #2 fixes a bug that has always been in the code, but was not
discovered until very recently.
- Commit #3 fixes a non-fatal race issue in the neighbour discovery
code.
- Commit #4 removes an unnecessary indirection step during link
startup.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
| -rw-r--r-- | net/tipc/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index e167d2615569..efe4d41bf11b 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
| @@ -162,7 +162,7 @@ void tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr) | |||
| 162 | pr_info("New link <%s> becomes standby\n", l_ptr->name); | 162 | pr_info("New link <%s> becomes standby\n", l_ptr->name); |
| 163 | return; | 163 | return; |
| 164 | } | 164 | } |
| 165 | tipc_link_send_duplicate(active[0], l_ptr); | 165 | tipc_link_dup_send_queue(active[0], l_ptr); |
| 166 | if (l_ptr->priority == active[0]->priority) { | 166 | if (l_ptr->priority == active[0]->priority) { |
| 167 | active[0] = l_ptr; | 167 | active[0] = l_ptr; |
| 168 | return; | 168 | return; |
| @@ -225,7 +225,7 @@ void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr) | |||
| 225 | if (active[0] == l_ptr) | 225 | if (active[0] == l_ptr) |
| 226 | node_select_active_links(n_ptr); | 226 | node_select_active_links(n_ptr); |
| 227 | if (tipc_node_is_up(n_ptr)) | 227 | if (tipc_node_is_up(n_ptr)) |
| 228 | tipc_link_changeover(l_ptr); | 228 | tipc_link_failover_send_queue(l_ptr); |
| 229 | else | 229 | else |
| 230 | node_lost_contact(n_ptr); | 230 | node_lost_contact(n_ptr); |
| 231 | } | 231 | } |
