mac80211: reject setting masked mac addresses
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 27 Nov 2012 17:23:06 +0000 (18:23 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 28 Nov 2012 12:52:43 +0000 (13:52 +0100)
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 <helmut.schaa@googlemail.com>
[change function flow to reduce indentation, fix locking]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found