kernel: fix mac-address-increment patch
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 4 Nov 2021 13:36:50 +0000 (14:36 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 14 Nov 2021 23:38:45 +0000 (00:38 +0100)
commit63ce6fcd2093a3503044d51f7a025bf8b0a8260f
treeb08d21ad62b53d08f7515e39b4c3ffa57e49dfda
parentc9536520bdc2dccd88316fb889f65c0331a080ad
kernel: fix mac-address-increment patch

Fix mac address increment patch. Permit to overflow to the next
byte and correctly calculate the incremented mac.

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Fixes: d284e6ef0f06 ("treewide: convert mtd-mac-address-increment* to generic implementation")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
target/linux/generic/pending-5.4/683-of_net-add-mac-address-to-of-tree.patch