Messages in this thread | | | From | Denis Vlasenko <> | Subject | typo in net/fc/iph5526.c ? | Date | Sat, 6 Mar 2004 23:33:51 +0200 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |