datapath-protocol: vport_stats types are unsigned.
authorJesse Gross <jesse@nicira.com>
Mon, 19 Sep 2011 23:11:27 +0000 (16:11 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 19 Sep 2011 23:35:39 +0000 (16:35 -0700)
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 <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin Shelar <pshelar@nicira.com>
include/openvswitch/datapath-protocol.h

index 8ed1c7f..fc7cc1f 100644 (file)
@@ -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. */