[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160216.152827.2202202588726087877.davem@davemloft.net>
Date: Tue, 16 Feb 2016 15:28:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: haiyangz@...rosoft.com
Cc: netdev@...r.kernel.org, kys@...rosoft.com, olaf@...fle.de,
vkuznets@...hat.com, linux-kernel@...r.kernel.org,
driverdev-devel@...uxdriverproject.org
Subject: Re: [PATCH net-next] hv_netvsc: Increase delay for
RNDIS_STATUS_NETWORK_CHANGE
From: Haiyang Zhang <haiyangz@...rosoft.com>
Date: Tue, 9 Feb 2016 15:31:34 +0000
> 1) I share your concern as well. Is there a universal way to immediately trigger
> DHCP renew of all current and future daemons with a single event from kernel?
> If not, can we put the delay (RNDIS_STATUS_NETWORK_CHANGE only) into a
> tunable variable of this driver?
>
> 2) We used to have the call_usermodehelper "/etc/init.d/network restart" to
> trigger DHCP renew. In commit 27a70af3f4, Vitaly has replaced it with the current
> code that updates the link status with at least 2 seconds interval, so that the
> "link_watch infrastructure" can send notification out. link_watch infrastructure
> only sends one notification per second.
If the daemon is waiting for the link state change properly, there should be
no delay necessary at all.
Powered by blists - more mailing lists