-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing ref counting for Mirror entry
Flow and VIF hold Mirroring index rather reference to mirroring entry. Though only index is used, the ref counting is used to delete the mirroring entry when Agent deletes it. This is unncecessary as no other data structure is holding a reference to this. Also the current ref counting is not atomic and is leading to wrong ref counting, leading to mirroring entry's wrong deletion. As a fix, the ref counting is remvoed for mirroring. When Agent deletes the entry, it is removed from Mirroring database. While mirroring if mirroring entry is not found the packet just does not get mirrored. closes-bug: #1605874 Change-Id: Id6bce2425465402a456a989a72a5f142cf829e83
- Loading branch information
1 parent
10655af
commit 45776e5
Showing
4 changed files
with
52 additions
and
89 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