Skip to contentSkip to conversation

Mark network interface as running on ifconfig up

PATCH New Yegor Yefremov 2 participants 2 messages Feb 11, 2010 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Mark network interface as running on ifconfig up

[KS8695] Mark network interface as running on ifconfig up

Without netif_carrier_on() network interface will not transmit any packets after ifconfig down and subsequent ifconfig up.

drivers/net/arm/ks8695net.c +1 -0
Index: linux-2.6.33-rc7/drivers/net/arm/ks8695net.c
===================================================================
@@ -1371,6 +1371,7 @@ ks8695_open(struct net_device *ndev)
 
 	napi_enable(&ksp->napi);
 	netif_start_queue(ndev);
+	netif_carrier_on(ndev);
 
 	return 0;
 }
#1 lore raw

PATCH 1/1 Mark network interface as running on ifconfig up

Hello Yegor,

I recommend to resend your patch with a Cc: to netdev at vger.kernel.org.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |