From: Helmut Schaa Date: Tue, 27 Nov 2012 17:23:06 +0000 (+0100) Subject: mac80211: reject setting masked mac addresses X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=478622e81c735ecd83d45ee6be3fd45d500aaa3b;p=pandora-kernel.git mac80211: reject setting masked mac addresses If a driver registers an address mask we should ensure that no interface gets an address assigned that isn't covered by the registered address mask. This prevents invalid configurations from reaching the device and causing problems. Signed-off-by: Helmut Schaa [change function flow to reduce indentation, fix locking] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed