Commit bab8eb0
usbnet: modern method to get random MAC
The driver generates a random MAC once on load
and uses it over and over, including on two devices
needing a random MAC at the same time.
Jakub suggested revamping the driver to the modern
API for setting a random MAC rather than fixing
the old stuff.
The bug is as old as the driver.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Fixes: 1da177e ("Linux-2.6.12-rc2")
Link: https://patch.msgid.link/20240829175201.670718-1-oneukum@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent cfd433c commit bab8eb0
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
| |||
1725 | 1722 | | |
1726 | 1723 | | |
1727 | 1724 | | |
1728 | | - | |
1729 | 1725 | | |
1730 | 1726 | | |
1731 | 1727 | | |
| |||
1801 | 1797 | | |
1802 | 1798 | | |
1803 | 1799 | | |
1804 | | - | |
1805 | | - | |
1806 | | - | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
1807 | 1803 | | |
1808 | 1804 | | |
1809 | 1805 | | |
| |||
2211 | 2207 | | |
2212 | 2208 | | |
2213 | 2209 | | |
2214 | | - | |
2215 | 2210 | | |
2216 | 2211 | | |
2217 | 2212 | | |
| |||
0 commit comments