From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:52321 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753230AbZE3FJG (ORCPT ); Sat, 30 May 2009 01:09:06 -0400 Date: Fri, 29 May 2009 22:09:06 -0700 (PDT) Message-Id: <20090529.220906.243061042.davem@davemloft.net> To: johannes@sipsolutions.net Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: introduce pre-up netdev notifier From: David Miller In-Reply-To: <1243640394.13863.7.camel@johannes.local> References: <1243640394.13863.7.camel@johannes.local> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Johannes Berg Date: Sat, 30 May 2009 01:39:53 +0200 > NETDEV_UP is called after the device is set UP, but sometimes > it is useful to be able to veto the device UP. Introduce a > new NETDEV_PRE_UP notifier that can be used for exactly this. > The first use case will be cfg80211 denying interfaces to be > set UP if the device is known to be rfkill'ed. > > Signed-off-by: Johannes Berg > --- > John, please take this patch via your tree, I asked Dave and > he's cool with that. Yep: Acked-by: David S. Miller