[ovs-build] Errored: roidayan/ovs#448 (for-upstream - e8bf777)
builds at travis-ci.org
Tue Aug 4 14:17:44 UTC 2020
Build Update for roidayan/ovs
Duration: 1 hr, 1 min, and 12 secs
Commit: e8bf777 (for-upstream)
Author: Ilya Maximets
Message: odp-util: Fix clearing match mask if set action is partially unnecessary.
While committing set() actions, commit() could wildcard all the fields
that are same in match key and in the set action. This leads to
situation where mask after commit could actually contain less bits
than it was before. And if set action was partially committed, all
the fields that were the same will be cleared out from the matching key
resulting in the incorrect (too wide) flow.
For example, for the flow that matches on both src and dst mac
addresses, if the dst mac is the same and only src should be changed
by the set() action, destination address will be wildcarded in the
match key and will never be matched, i.e. flows with any destination
mac will match, which is not correct.
Setting OF rule:
Sending following packets on port 1:
Resulted datapath flows:
The first flow doesn't have any match on source MAC address and the
third packet successfully matched on it while it must be dropped.
Fix that by updating the match mask with only the new bits set by
commit(), but keeping those that were cleared (OR operation).
With fix applied, resulted correct flows are:
The code before commit dbf4a92800d0 was not able to reduce the mask,
it was only possible to expand it to exact match, so it was OK to
update original matching mask with the new value in all cases.
Fixes: dbf4a92800d0 ("odp-util: Do not rewrite fields with the same values as matched")
Acked-by: Eli Britstein <elibr at mellanox.com>
Tested-by: Adrián Moreno <amorenoz at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
View the changeset: https://github.com/roidayan/ovs/compare/1e54e68f66d3...e8bf77748ab8
View the full build log and details: https://travis-ci.org/github/roidayan/ovs/builds/714804641?utm_medium=notification&utm_source=email
You can unsubscribe from build emails from the roidayan/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=10914095&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the build