diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/link.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index 18b1524098c6..a235b245f682 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
@@ -1422,11 +1422,6 @@ void tipc_rcv(struct sk_buff *head, struct tipc_bearer *b_ptr) | |||
1422 | if (unlikely(!list_empty(&l_ptr->waiting_ports))) | 1422 | if (unlikely(!list_empty(&l_ptr->waiting_ports))) |
1423 | tipc_link_wakeup_ports(l_ptr, 0); | 1423 | tipc_link_wakeup_ports(l_ptr, 0); |
1424 | 1424 | ||
1425 | if (unlikely(++l_ptr->unacked_window >= TIPC_MIN_LINK_WIN)) { | ||
1426 | l_ptr->stats.sent_acks++; | ||
1427 | tipc_link_proto_xmit(l_ptr, STATE_MSG, 0, 0, 0, 0, 0); | ||
1428 | } | ||
1429 | |||
1430 | /* Process the incoming packet */ | 1425 | /* Process the incoming packet */ |
1431 | if (unlikely(!link_working_working(l_ptr))) { | 1426 | if (unlikely(!link_working_working(l_ptr))) { |
1432 | if (msg_user(msg) == LINK_PROTOCOL) { | 1427 | if (msg_user(msg) == LINK_PROTOCOL) { |
@@ -1460,6 +1455,11 @@ void tipc_rcv(struct sk_buff *head, struct tipc_bearer *b_ptr) | |||
1460 | if (unlikely(l_ptr->oldest_deferred_in)) | 1455 | if (unlikely(l_ptr->oldest_deferred_in)) |
1461 | head = link_insert_deferred_queue(l_ptr, head); | 1456 | head = link_insert_deferred_queue(l_ptr, head); |
1462 | 1457 | ||
1458 | if (unlikely(++l_ptr->unacked_window >= TIPC_MIN_LINK_WIN)) { | ||
1459 | l_ptr->stats.sent_acks++; | ||
1460 | tipc_link_proto_xmit(l_ptr, STATE_MSG, 0, 0, 0, 0, 0); | ||
1461 | } | ||
1462 | |||
1463 | if (tipc_link_prepare_input(l_ptr, &buf)) { | 1463 | if (tipc_link_prepare_input(l_ptr, &buf)) { |
1464 | tipc_node_unlock(n_ptr); | 1464 | tipc_node_unlock(n_ptr); |
1465 | continue; | 1465 | continue; |