Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keeping the mirror metadata entry in Flow entry
Currently mirror metadata is stored in index table using flow index as key. Before the Flow eviction, the addition and deletion of this meta data to Index table is always from Agent and hence no parallel manipulation of Index table. After eviction, the metadata deletion from index table can happen in parallel and hence leading to memory corruption/leak in index table manipulation. The right fix is making the index table SMP ready. As a stop gap fix, the mirror metada data pointer is stored in the flow entry itself directly. Conflicts: include/vr_flow.h closes-bug: #1572397, #1744369 Change-Id: I216d8b6c55025a6053b808fd2807338265b307e0 (cherry picked from commit a437faa)
- Loading branch information
1 parent
6de6405
commit 9cb7dbd
Showing
5 changed files
with
47 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters