diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/tipc/bcast.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 00691b7c35f8..44645f56377e 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -349,8 +349,10 @@ static void tipc_bclink_peek_nack(u32 dest, u32 sender_tag, u32 gap_after, u32 g | |||
349 | for (; buf; buf = buf->next) { | 349 | for (; buf; buf = buf->next) { |
350 | u32 seqno = buf_seqno(buf); | 350 | u32 seqno = buf_seqno(buf); |
351 | 351 | ||
352 | if (mod(seqno - prev) != 1) | 352 | if (mod(seqno - prev) != 1) { |
353 | buf = NULL; | 353 | buf = NULL; |
354 | break; | ||
355 | } | ||
354 | if (seqno == gap_after) | 356 | if (seqno == gap_after) |
355 | break; | 357 | break; |
356 | prev = seqno; | 358 | prev = seqno; |