diff options
| -rw-r--r-- | net/tipc/link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index 95249ba6e2d6..ad356df12d1e 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
| @@ -1276,7 +1276,7 @@ reject: | |||
| 1276 | /* Append whole chain to send queue: */ | 1276 | /* Append whole chain to send queue: */ |
| 1277 | 1277 | ||
| 1278 | buf = buf_chain; | 1278 | buf = buf_chain; |
| 1279 | l_ptr->long_msg_seq_no = mod(l_ptr->long_msg_seq_no + 1); | 1279 | l_ptr->long_msg_seq_no++; |
| 1280 | if (!l_ptr->next_out) | 1280 | if (!l_ptr->next_out) |
| 1281 | l_ptr->next_out = buf_chain; | 1281 | l_ptr->next_out = buf_chain; |
| 1282 | l_ptr->stats.sent_fragmented++; | 1282 | l_ptr->stats.sent_fragmented++; |
| @@ -2426,7 +2426,7 @@ static int link_send_long_buf(struct link *l_ptr, struct sk_buff *buf) | |||
| 2426 | 2426 | ||
| 2427 | tipc_msg_init(&fragm_hdr, MSG_FRAGMENTER, FIRST_FRAGMENT, | 2427 | tipc_msg_init(&fragm_hdr, MSG_FRAGMENTER, FIRST_FRAGMENT, |
| 2428 | INT_H_SIZE, destaddr); | 2428 | INT_H_SIZE, destaddr); |
| 2429 | msg_set_long_msgno(&fragm_hdr, mod(l_ptr->long_msg_seq_no++)); | 2429 | msg_set_long_msgno(&fragm_hdr, l_ptr->long_msg_seq_no++); |
| 2430 | msg_set_fragm_no(&fragm_hdr, fragm_no); | 2430 | msg_set_fragm_no(&fragm_hdr, fragm_no); |
| 2431 | l_ptr->stats.sent_fragmented++; | 2431 | l_ptr->stats.sent_fragmented++; |
| 2432 | 2432 | ||
