-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cnetlink: adapt mdb handling to fixed upstream working
With a recent fix, libnl will now send the updated object instead of the update as new for callback_v2(). Unfortuntely the mdb code relied on getting incremental updates as new, so this change broke mdb handling. To fix this, rework the mdb handling the following: 1. convert all entries of old and new into seperate, ordered sets 2. for any entry in the old, but not new leave the group 3. for any entry in the new, but not old join the group This with empty sets for old respective new this can also be used new and delete of the object. Signed-off-by: Jonas Gorski <[email protected]>
- Loading branch information
1 parent
aae5c4f
commit 6d3439f
Showing
3 changed files
with
77 additions
and
97 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