Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756273AbaFWQ1M (ORCPT ); Mon, 23 Jun 2014 12:27:12 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.220]:13165 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755600AbaFWQ1J (ORCPT ); Mon, 23 Jun 2014 12:27:09 -0400 X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+yackYocTD1iAi8x+OWi/zfN1cLnBYfssBY9SQMKk8kCovkkmJbh+VP2spQG3tvMeGW7W X-RZG-CLASS-ID: mo00 Date: Mon, 23 Jun 2014 18:27:05 +0200 From: Olaf Hering 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 Message-ID: <20140623162705.GA5957@aepfle.de> References: <1403228076-7596-1-git-send-email-haiyangz@microsoft.com> <20140620045704.GA4850@aepfle.de> <20140620051213.GA9960@kroah.com> <20140623080242.GA16924@aepfle.de> <06b508cbb6b949f4b3e13e7797948e56@DFM-DB3MBX15-06.exchange.corp.microsoft.com> <20140623131723.GA7026@aepfle.de> <5fb9ddebb68d456ab87979b5cc3830ec@DFM-DB3MBX15-06.exchange.corp.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5fb9ddebb68d456ab87979b5cc3830ec@DFM-DB3MBX15-06.exchange.corp.microsoft.com> User-Agent: Mutt/1.5.22.rev6346 (2013-10-29) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 23, Haiyang Zhang wrote: > I have tried some possibilities, like IF_OPER_DORMANT then IF_OPER_UP with > netdev_state_change() etc. but not able to trigger DHCP review. I will look at this > further... Is there a link down/up event anyway? If the interface is configured to "on hotplug" or "on cable plugged in" or whatever the setting name is, the network scripts should do something. Even if its not a DHCP renew. > So, what's the equivalent or similar command to "network restart" on SLES12? Could > you update the command line for the usermodehelper when porting this patch to SLES > 12? I see a /sbin/rcnetwork in SLES, which links either to '/etc/init.d/network' or 'service'. This could be used as a quick workaround. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/