We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87d7ae commit a7e73ffCopy full SHA for a7e73ff
storage/cache.cpp
@@ -39,6 +39,7 @@
39
#include <sys/time.h>
40
#include <optional>
41
#include <endian.h>
42
+#include <algorithm>
43
44
#include "xxhash.h"
45
#include "fragmentationCache/timevalUtils.hpp"
@@ -475,8 +476,8 @@ void NHTFlowCache::export_external(const Packet& pkt) noexcept
475
476
}, key);
477
const auto [row, flow_index, hash_value] = find_row(key);
478
if (!flow_index.has_value()
- || !m_flow_table[flow_index.value()]->is_in_ctt
479
- || !m_flow_table[flow_index.value()]->offload_mode.has_value())
+ || !m_flow_table[flow_index.value()]->is_in_ctt
480
+ || !m_flow_table[flow_index.value()]->offload_mode.has_value()) {
481
m_ctt_stats.export_packets_for_missing_flow++;
482
return;
483
}
0 commit comments