Re: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event
From: David Miller <davem@davemloft.net>
Date: 2014-06-23 20:06:11
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2014-06-23 20:06:11
Also in:
lkml
From: Olaf Hering <redacted> Date: Mon, 23 Jun 2014 15:17:23 +0200
On Mon, Jun 23, Haiyang Zhang wrote:quoted
quoted
I think its reasonable to expect guest config changes on this new kind of host. Would a link-down/link-up event work? I'm sure it will, there is enough code floating around in the guests which handles cable unplug.Do you mean netif_carrier_off() / netif_carrier_on()? They are already called in the code before this patch, but DHCP renew is not triggered by them.I do not know how to simulate a cable unplug. The point is that calling /etc/init.d/network will fail, at least in SLES12. Maybe some sort of "DHCP refresh required" event is required? Maybe the DHCP clients need to renew on cable unplug? No idea what the solution to the issue really is.
What's in the driver right now is definitely not it, and I want this network restart code removed immediately.