Skip to content

Commit

Permalink
++ cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Zadamsa committed Jan 10, 2025
1 parent 1189577 commit 88ba467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storage/cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,9 @@ int NHTFlowCache::put_pkt(Packet &pkt)
} else {
#ifdef WITH_CTT
const size_t victim_index = row_span.find_victim(pkt.ts);
if (victim_index >= m_line_size) {
asm("int $0x80");
}
#else
const size_t victim_index = m_line_size - 1;
#endif /* WITH_CTT */
Expand Down

0 comments on commit 88ba467

Please # to comment.