aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2024-10-17 09:18:37 +0200
committerPaolo Abeni <[email protected]>2024-10-22 13:24:26 +0200
commit8a7d12d674ac6f2147c18f36d1e15f1a48060edf (patch)
tree2dde48109aa90547d82365db867303b4fb8039c1 /tools/perf/scripts/python/exported-sql-viewer.py
parentf7b4cf0306bbea500a613e4b618576452c1df4ba (diff)
net: usb: usbnet: fix name regression
The fix for MAC addresses broke detection of the naming convention because it gave network devices no random MAC before bind() was called. This means that the check for the local assignment bit was always negative as the address was zeroed from allocation, instead of from overwriting the MAC with a unique hardware address. The correct check for whether bind() has altered the MAC is done with is_zero_ether_addr Signed-off-by: Oliver Neukum <[email protected]> Reported-by: Greg Thelen <[email protected]> Diagnosed-by: John Sperbeck <[email protected]> Fixes: bab8eb0dd4cb9 ("usbnet: modern method to get random MAC") Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions