From: Eric W. Biederman Date: Thu, 8 May 2008 21:30:18 +0000 (-0700) Subject: wireless: Add missing locking to cfg80211_dev_rename X-Git-Tag: v2.6.27-rc1~969^2~441^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2940bb69fd84047e78fdb1868a8b894df5584255;p=pandora-kernel.git wireless: Add missing locking to cfg80211_dev_rename device_rename only performs useful and race free validity checking at the optional sysfs level so depending on it for all of the validity checking in cfg80211_dev_rename is racy. Instead implement all of the needed validity checking and locking in cfg80211_dev_rename. Signed-off-by: Eric W. Biederman Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed