diff options
| author | Petr Machata <[email protected]> | 2018-12-13 11:54:30 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-13 18:41:38 -0800 |
| commit | 3a37a9636cf3a1af2621a33f7eef8a2a3da81030 (patch) | |
| tree | 39d632745b9834d8297856b8900b793ec43c45d7 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 95302c394c3de19bdf24fff5e44a2bf935eadf74 (diff) | |
net: dev: Add extack argument to dev_set_mac_address()
A follow-up patch will add a notifier type NETDEV_PRE_CHANGEADDR, which
allows vetoing of MAC address changes. One prominent path to that
notification is through dev_set_mac_address(). Therefore give this
function an extack argument, so that it can be packed together with the
notification. Thus a textual reason for rejection (or a warning) can be
communicated back to the user.
Signed-off-by: Petr Machata <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions