]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/macvtap.c
e1000e: disable broken PHY wakeup for ICH10 LOMs, use MAC wakeup instead
[karo-tx-linux.git] / drivers / net / macvtap.c
index 21845affea1303ed80a952d38b78d24c39281e28..5933621ac3ffa73f7c3a19db049b5bbc813560be 100644 (file)
@@ -585,7 +585,7 @@ err:
        rcu_read_lock_bh();
        vlan = rcu_dereference(q->vlan);
        if (vlan)
-               netdev_get_tx_queue(vlan->dev, 0)->tx_dropped++;
+               vlan->dev->stats.tx_dropped++;
        rcu_read_unlock_bh();
 
        return err;