From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation Date: Thu, 7 Aug 2014 20:32:20 -0700 Message-ID: <20140808033220.GB10503@kroah.com> References: <53CCD6F2.6020909@nod.at> <20140721091851.GA28171@aepfle.de> <20140721.143225.2040366896972949930.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "olaf@aepfle.de" , Richard Weinberger , "netdev@vger.kernel.org" , "jasowang@redhat.com" , "driverdev-devel@linuxdriverproject.org" , Haiyang Zhang , LKML , Thomas Shao , "Yue Zhang \(OSTC DEV\)" , David Miller To: Dexuan Cui Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: driverdev-devel-bounces@linuxdriverproject.org List-Id: netdev.vger.kernel.org On Fri, Aug 08, 2014 at 03:13:58AM +0000, Dexuan Cui wrote: > > -----Original Message----- > > From: Richard Weinberger [mailto:richard.weinberger@gmail.com] > > Sent: Friday, August 8, 2014 6:37 AM > > To: David Miller; Yue Zhang (OSTC DEV) > > Cc: olaf@aepfle.de; netdev@vger.kernel.org; driverdev- > > devel@linuxdriverproject.org; LKML; Greg KH; jasowang@redhat.com; > > Haiyang Zhang; KY Srinivasan; Thomas Shao; Dexuan Cui > > Subject: Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation > > > > On Mon, Jul 21, 2014 at 11:32 PM, David Miller > > wrote: > > > From: Olaf Hering > > > Date: Mon, 21 Jul 2014 11:18:51 +0200 > > > > > >> On Mon, Jul 21, Richard Weinberger wrote: > > >> > > >>> My concern is that 10 seconds is maybe not a the right choice. > > >>> (As we cannot know all implementations) > > >> > > >> Until someone reports an issue with it, 10 is fine. Just like 20 or 666. > > > > > > Wrong, this is policy and belongs in userspace. > > > > The "/etc/init.d/network restart" nonsense now hit Linus' tree. > > Yue, what is your proposal to fix that? > > > > //richard > > Hi Richard and all, > Sorry for the late response -- actually we have been trying to > figure out a solution that's acceptable to 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