patch-2.3.47 linux/net/netrom/nr_dev.c

Next file: linux/net/netsyms.c
Previous file: linux/net/irda/irlan/irlan_common.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/net/netrom/nr_dev.c linux/net/netrom/nr_dev.c
@@ -62,7 +62,7 @@
 {
 	struct net_device_stats *stats = (struct net_device_stats *)dev->priv;
 
-	if (!test_bit(LINK_STATE_START, &dev->state)) {
+	if (!netif_running(dev)) {
 		stats->rx_errors++;
 		return 0;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)