[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 8 Aug 2014 08:11:20 +0000
From: Dexuan Cui <decui@...rosoft.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: Richard Weinberger <richard.weinberger@...il.com>,
David Miller <davem@...emloft.net>,
"Yue Zhang (OSTC DEV)" <yuezha@...rosoft.com>,
"olaf@...fle.de" <olaf@...fle.de>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"jasowang@...hat.com" <jasowang@...hat.com>,
"driverdev-devel@...uxdriverproject.org"
<driverdev-devel@...uxdriverproject.org>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Shao <huishao@...rosoft.com>,
"Haiyang Zhang" <haiyangz@...rosoft.com>
Subject: RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation
> From: Greg KH [mailto:gregkh@...uxfoundation.org]
> Sent: Friday, August 8, 2014 11:32 AM
> > Hi Richard and all,
> >
> > IMO the most feasible and need-the-least-change solution may be:
> > the hyperv network VSC driver passes the event
> > RNDIS_STATUS_NETWORK_CHANGE to the udev daemon?
> >
> > In this way, every distro only needs to add a udev rule, which should
> > be simple.
>
> No, don't do that, again, act like any other network device, drop the
> link and bring it up when it comes back.
>
> greg k-h
Hi Greg,
Thanks for the comment!
Do you mean tearing down the net device and re-creating it (by
register_netdev() and unregister_netdev)?
Sorry, I'm new to network drivers. I'll have to try this to see if this
works or not, though I suppose it would work.
-- Dexuan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists