From cca208bb634b0825f8d56fde4ec10a240a45e9c1 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 19 Sep 2011 16:11:27 -0700 Subject: [PATCH] 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 --- include/openvswitch/datapath-protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.43.0