Thread (24 messages) 24 messages, 6 authors, 2015-10-29

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2014-06-23 12:48:05
Also in: lkml

-----Original Message-----
From: Olaf Hering [mailto:olaf@aepfle.de]
Sent: Monday, June 23, 2014 4:03 AM
To: Haiyang Zhang
Cc: Greg KH; netdev@vger.kernel.org; jasowang@redhat.com; driverdev-
devel@linuxdriverproject.org; linux-kernel@vger.kernel.org;
davem@davemloft.net
Subject: Re: [PATCH net-next] hyperv: Add handler for
RNDIS_STATUS_NETWORK_CHANGE event

On Fri, Jun 20, Haiyang Zhang wrote:
quoted
This command ("/etc/init.d/network restart") exists on our supported
distros
quoted
currently. We will also look into some better ways to refresh the
network for
quoted
the distros without this command. I have tried setting IF_OPER_DORMANT
then
quoted
IF_OPER_UP, but not working. I will look into the suspend/resume cycle
as
quoted
well.
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.

Thanks,
- Haiyang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help