Re: [PATCH v2 0/2] Support runtime changes of vendor mac passthu policy

From: David Miller
Date: Sat Apr 06 2019 - 21:22:14 EST


From: Mario Limonciello <mario.limonciello@xxxxxxxx>
Date: Thu, 4 Apr 2019 13:46:51 -0500

> On some platforms ACPI method `\\_SB.AMAC` is dynamic and changes to it can
> influence changing the behavior of MAC pass through and what MAC address is used.
>
> When running USB reset, re-read the MAC address to use to support tools that
> change the policy.
>
> This is quite similar to using `SIOCSIFHWADDR` except that the actual MAC to use
> comes from ASL rather than from userspace.
>
> Changes from v1:
> * Remove an extra unneeded `ether_addr_copy` call
> * Use `dev_set_mac_address` to ensure all notifiers are called
> * Shuffle functions to allow code re-use.

Series applied to net-next.