kernel: fix mac-address-increment on driver probe defer
authorWill Moss <willormos@gmail.com>
Wed, 3 Aug 2022 13:56:28 +0000 (13:56 +0000)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 23 Sep 2022 10:16:29 +0000 (12:16 +0200)
commita24e07700d0f884ff82e565110adef4ad2155db4
tree9368fe43cfcd275df9bb29e829c7c2d0c4bfd226
parenta6fd151308b1ad1878ba367549a9e9ef5c717653
kernel: fix mac-address-increment on driver probe defer

Fixes situations where MAC address gets incremented multiple times
if device initialization fails at first and then is deferred.

Fixes: d284e6ef0f06 ("treewide: convert mtd-mac-address-increment* to generic implementation")
Signed-off-by: Will Moss <willormos@gmail.com>
target/linux/generic/pending-5.10/684-of_net-do-mac-address-increment-only-once.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/684-of_net-do-mac-address-increment-only-once.patch [new file with mode: 0644]