From: Florin Coras Date: Thu, 20 Feb 2020 16:04:03 +0000 (+0000) Subject: tcp: fix coverity warning in bt X-Git-Tag: v20.09-rc0~543 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=62a7fe28933b6310b9a4e3a0fab99949587576ac tcp: fix coverity warning in bt Type: fix Signed-off-by: Florin Coras Change-Id: I4153a9a377b8b1da1366a94ff791ad99617b7a6d --- diff --git a/src/vnet/tcp/tcp_bt.c b/src/vnet/tcp/tcp_bt.c index e8cf0680d4d..b6649444eb5 100644 --- a/src/vnet/tcp/tcp_bt.c +++ b/src/vnet/tcp/tcp_bt.c @@ -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));