commit | 478622e81c735ecd83d45ee6be3fd45d500aaa3b | [log] [tgz] |
---|---|---|
author | Helmut Schaa <helmut.schaa@googlemail.com> | Tue Nov 27 18:23:06 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Nov 28 13:52:43 2012 +0100 |
tree | 631025a1b4b881e9ed179bc39d57f82b5cb13827 | |
parent | 0624760c96da3ffeaec8027a016475ae752d75e1 [diff] |
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 <helmut.schaa@googlemail.com> [change function flow to reduce indentation, fix locking] Signed-off-by: Johannes Berg <johannes.berg@intel.com>