summaryrefslogtreecommitdiffstats
path: root/net/tipc/link.c
diff options
context:
space:
mode:
authorAllan Stephens2011-01-18 19:53:16 +0100
committerPaul Gortmaker2011-02-24 00:05:12 +0100
commit01d83eddc55c138cbb24a5917d5271c0b24956a1 (patch)
tree4f955e6fa50ac93de90a496749aea82b4411746a /net/tipc/link.c
parenttipc: Clean out all remaining instances of #if 0'd unused code (diff)
downloadkernel-qcow2-linux-01d83eddc55c138cbb24a5917d5271c0b24956a1.tar.gz
kernel-qcow2-linux-01d83eddc55c138cbb24a5917d5271c0b24956a1.tar.xz
kernel-qcow2-linux-01d83eddc55c138cbb24a5917d5271c0b24956a1.zip
tipc: Clean up tracking of node requesting a broadcast retransmit
Allows the broadcast link to track the node that is requesting a retransmit in a new field dedicated to that purpose. This replaces the existing mechanism that (ab)uses an existing node structure linked list field to do the tracking. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r--net/tipc/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index d586265e54a4..0cb773b7ee21 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -1441,7 +1441,7 @@ static void link_retransmit_failure(struct link *l_ptr, struct sk_buff *buf)
info("Outstanding acks: %lu\n",
(unsigned long) TIPC_SKB_CB(buf)->handle);
- n_ptr = l_ptr->owner->next;
+ n_ptr = tipc_bclink_retransmit_to();
tipc_node_lock(n_ptr);
tipc_addr_string_fill(addr_string, n_ptr->addr);