aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPiotr Gardocki <[email protected]>2023-06-14 16:53:00 +0200
committerJakub Kicinski <[email protected]>2023-06-15 22:54:54 -0700
commitad72c4a06acc6762e84994ac2f722da7a07df34e (patch)
tree2c5e36320dfce7748106c59d70909a61e6260953 /tools/perf/scripts/python/syscall-counts.py
parent8f72fb1578a910571b3f25457e3b7855edfac6cf (diff)
net: add check for current MAC address in dev_set_mac_address
In some cases it is possible for kernel to come with request to change primary MAC address to the address that is already set on the given interface. Add proper check to return fast from the function in these cases. An example of such case is adding an interface to bonding channel in balance-alb mode: modprobe bonding mode=balance-alb miimon=100 max_bonds=1 ip link set bond0 up ifenslave bond0 <eth> Signed-off-by: Piotr Gardocki <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions