[ovs-git] Open vSwitch: odp-util: Print bad action numbers in hexadecimal in format_odp_action(). (master)
dev at openvswitch.org
dev at openvswitch.org
Wed Apr 14 10:24:30 PDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, master has been updated
via cd05c6ad2fdcedce229f962ca29c167287b9b21b (commit)
via b843fa1b41a6e9ed362e0414f0b3f6b42bfa3e66 (commit)
via 379c2564b617aa4d36efba0956d92d0d363c6d86 (commit)
from 392804e7ee2753cea831503fbdbafc2d7780862a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cd05c6ad2fdcedce229f962ca29c167287b9b21b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cd05c6ad2fdcedce229f962ca29c167287b9b21b
Author: Ben Pfaff <blp at nicira.com>
odp-util: Print bad action numbers in hexadecimal in format_odp_action().
Given that dpif.c clears action numbers to 0xcccc it can be much less
mystifying to see that instead of 52428.
commit b843fa1b41a6e9ed362e0414f0b3f6b42bfa3e66
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b843fa1b41a6e9ed362e0414f0b3f6b42bfa3e66
Author: Ben Pfaff <blp at nicira.com>
dpif: Make dpif_flow_get() results predictable on error.
If dpif_flow_get()'s caller is less cautious than it should be, then it
will get surprising results when it looks at the returned flow on error.
This commit at least gives it plausible results.
commit 379c2564b617aa4d36efba0956d92d0d363c6d86
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=379c2564b617aa4d36efba0956d92d0d363c6d86
Author: Ben Pfaff <blp at nicira.com>
ovs-dpctl: In "dump-flows", only print flows that can be retrieved.
If dpif_flow_get() returns an error then we'd better not try to print
the flow (especially not the actions since check_rw_odp_flow() clears
the first action to 0xcc).
-----------------------------------------------------------------------
Summary of changes:
lib/dpif.c | 5 +++++
lib/odp-util.c | 4 ++--
utilities/ovs-dpctl.c | 10 +++++-----
3 files changed, 12 insertions(+), 7 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list