From: Jesse Gross Date: Mon, 19 Sep 2011 23:11:27 +0000 (-0700) Subject: datapath-protocol: vport_stats types are unsigned. X-Git-Tag: v1.3.0~267 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cca208bb634b0825f8d56fde4ec10a240a45e9c1;p=sliver-openvswitch.git datapath-protocol: vport_stats types are unsigned. The 'u' in uint64_t apparently got clipped off of the tx_dropped member of struct vport_stats in between review and push, incorrectly making this a signed type. CC: Pravin Shelar Signed-off-by: Jesse Gross Acked-by: Pravin Shelar --- diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index 8ed1c7f41..fc7cc1fbc 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -143,7 +143,7 @@ struct ovs_vport_stats { uint64_t rx_errors; /* bad packets received */ uint64_t tx_errors; /* packet transmit problems */ uint64_t rx_dropped; /* no space in linux buffers */ - int64_t tx_dropped; /* no space available in linux */ + uint64_t tx_dropped; /* no space available in linux */ }; /* Logical ports. */