tcp: fix coverity warning in bt 24/25324/4
authorFlorin Coras <fcoras@cisco.com>
Thu, 20 Feb 2020 16:04:03 +0000 (16:04 +0000)
committerDave Barach <openvpp@barachs.net>
Thu, 20 Feb 2020 17:49:16 +0000 (17:49 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I4153a9a377b8b1da1366a94ff791ad99617b7a6d

src/vnet/tcp/tcp_bt.c

index e8cf068..b664944 100644 (file)
@@ -402,7 +402,7 @@ tcp_bt_track_rxt (tcp_connection_t * tc, u32 start, u32 end)
   bts_index = bt_sample_index (bt, bts);
   next = bt_next_sample (bt, bts);
   if (next)
-    next = bt_fix_overlapped (bt, next, end, is_end);
+    bt_fix_overlapped (bt, next, end, is_end);
 
   max_seq = bts->max_seq;
   ASSERT (seq_lt (start, max_seq));