[PATCH] nl80211: re-read MAC address on RTM_NEWLINK
Sat Oct 4 13:19:22 PDT 2014
On Thu, Oct 02, 2014 at 10:30:05AM -0500, Dan Williams wrote:
> 97279d8d (after hostap-2.0) dropped frames from foreign addresses.
> Unfortunately this commit did not handle the case where the
> interface's MAC address might be changed externally, which other
> supplicant code already handled. This causes the driver to reject
> any MLME event because the address from the event doesn't match
> the stale address in the driver data.
> Changing an interface's MAC address requires that the interface be
> down, the change made, and then the interface brought back up. This
> triggers an RTM_NEWLINK event which driver_nl80211.c can use to
> re-read the MAC address of the interface.
> Signed-hostap: Dan Williams <dcbw at redhat.com>
By the way, Signed-off-by: is now the preferred tag to use.
Jouni Malinen PGP id EFC895FA
More information about the Hostap