typo in net/fc/iph5526.c ?

From: Denis Vlasenko
Date: Sat Mar 06 2004 - 16:55:18 EST


static int __init fcdev_init(struct net_device *dev)
{
SET_MODULE_OWNER(dev);
dev->open = iph5526_open;
dev->stop = iph5526_close;
dev->hard_start_xmit = iph5526_send_packet;
dev->get_stats = iph5526_get_stats;
dev->set_multicast_list = NULL;
dev->change_mtu = iph5526_change_mtu;
dev->tx_timeout = iph5526_timeout; <----
dev->watchdog_timeo = 5*HZ;
return 0;
}
...
static void iph5526_timeout(struct net_device *dev)
{
struct fc_info *fi = (struct fc_info*)dev->priv;
printk(KERN_WARNING "%s: timed out on send.\n", dev->name);
fi->fc_stats.rx_dropped++;
^^
dev->trans_start = jiffies;
netif_wake_queue(dev);
}

Shouldn't it be tx_dropped++ ?
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/