From: Johannes Berg Date: Fri, 29 May 2009 23:39:53 +0000 (+0200) Subject: net: introduce pre-up netdev notifier X-Git-Tag: v2.6.31-rc1~330^2~157^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b8bcfd5d31ea0fec58681d035544ace707d2536;p=pandora-kernel.git net: introduce pre-up netdev notifier 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 Acked-by: David S. Miller Signed-off-by: John W. Linville --- Reading git-diff-tree failed