[ovs-git] Open vSwitch: datapath: Clean up code in vport_get_stats(). (master)
dev at openvswitch.org
dev at openvswitch.org
Thu Jan 6 04:48:52 UTC 2011
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 bc22fc3e661915586e96efdb2241101d97b7946a (commit)
via 265d5020ad6a7e1e7f97822a5545be223b6ea599 (commit)
from 875244c7a9048bfe2075f0d6bbb4fa13edaae242 (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 bc22fc3e661915586e96efdb2241101d97b7946a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bc22fc3e661915586e96efdb2241101d97b7946a
Author: Ben Pfaff <blp at nicira.com>
datapath: Clean up code in vport_get_stats().
This should not change behavior.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit 265d5020ad6a7e1e7f97822a5545be223b6ea599
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=265d5020ad6a7e1e7f97822a5545be223b6ea599
Author: Ben Pfaff <blp at nicira.com>
datapath: Fix vport_get_stats() in !VPORT_F_GEN_STATS case.
When VPORT_F_GEN_STATS was not set, vport_get_stats() would always return
an error (either an error returned by ->get_stats(), otherwise
-EOPNOTSUPP). This fixes the problem.
Found by inspection.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
datapath/vport.c | 143 ++++++++++++++++++++++++++---------------------------
1 files changed, 70 insertions(+), 73 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list