[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DC7803B42427924284F2D5252E076A3B4476A479@SINEX14MBXC416.southpacific.corp.microsoft.com>
Date: Mon, 21 Jul 2014 08:44:01 +0000
From: "Yue Zhang (OSTC DEV)" <yuezha@...rosoft.com>
To: Richard Weinberger <richard@....at>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"driverdev-devel@...uxdriverproject.org"
<driverdev-devel@...uxdriverproject.org>,
LKML <linux-kernel@...r.kernel.org>,
Greg KH <gregkh@...uxfoundation.org>,
"olaf@...fle.de" <olaf@...fle.de>,
"jasowang@...hat.com" <jasowang@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Haiyang Zhang <haiyangz@...rosoft.com>,
KY Srinivasan <kys@...rosoft.com>,
Thomas Shao <huishao@...rosoft.com>,
Dexuan Cui <decui@...rosoft.com>
Subject: RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation
> From: Richard Weinberger [mailto:richard@....at]
> Sent: Monday, July 21, 2014 4:18 PM
>
> Yue,
>
> Am 21.07.2014 10:05, schrieb Yue Zhang (OSTC DEV):
> > The problem of systemd implementation is that in different distros, the ways
> > to restart service are different. Propagating the event to userspace also doesn't
> > help for this issue.
>
> This way each distro can provide their own restart script.
> Same as every distro has custom start scripts, etc...
>
> > The advantage of current solution is that it simulates a cable plugging
> > in/out event. IMHO, in all the distros, this simulated event has already been well
> > handled. It is a dup effect to implement new hooks.
>
> Iff the current solution works for _all_ networking implementations.
>
> Thanks,
> //richard
Hi, Richard
IMHO, all networking implementations should handle the cable offline event. Consider
this situation. I unplugged the network cable and connect it to a new network switch
after 10 seconds. If the DHCP renew is not triggered, the network will break. I think in
normal cases, it should already been handled properly. Unless there is a strong
justification for not doing this. In that case, we shouldn't renew DHCP anyway.
Thanks
----
Yue
Powered by blists - more mailing lists