net: net: add a core netdev->tx_dropped counter
[pandora-kernel.git] / include / linux / netdevice.h
index 4b6d12c..159c7e7 100644 (file)
@@ -1311,9 +1311,10 @@ struct net_device {
        int                     iflink;
 
        struct net_device_stats stats;
-       atomic_long_t           rx_dropped; /* dropped packets by core network
-                                            * Do not use this in drivers.
-                                            */
+
+       /* dropped packets by core network, Do not use this in drivers */
+       atomic_long_t           rx_dropped;
+       atomic_long_t           tx_dropped;
 
 #ifdef CONFIG_WIRELESS_EXT
        /* List of functions to handle Wireless Extensions (instead of ioctl).