forked from doonhammer/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tun-metadata: Always set option present when copying data.
Whenever we write into a tunnel option field, we also need to mark it as significant. If we don't, then the data will later be ignored. We currently do this in every case except for flow metadata. This causes us to not correctly serialize the tunnel metadata for Packet Ins to the controller. Rather than separately writing the data and marking the options as present, it is better to combine the two steps to ensure that one can never be done without the other. Signed-off-by: Jesse Gross <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information
1 parent
f0b12cd
commit 2234a7d
Showing
2 changed files
with
27 additions
and
16 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