udev: drop Revert-udev-network-device-renaming-immediately-give.patch
Bug: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1837700
Dell has a feature called MAC addrss passthrough that would force usb ethernet adapters to be assigned with a predefined MAC address stored in BIOS or so. This feature has been landed to mainline kernel in driver r8152. So whenever a r8152 managed device is plugged into Dell devices with MAC addrss passthrough enabled, this driver will set NIC MAC to a predefined one.
And some Dell devices have already one built-in r8152 NIC port. On these devices, when a second r8152 NIC is plugged in, a Debian originated udev rules file 73-usb-net-by-mac.rules will invoke udev built-in command net_id
to give a persistent name, and that will be based on MAC address. However, since the system has already initialized the built-in r8152 NIC with that name, renaming the second interface with this name will always fail.
While Debian still carries a patch called Revert-udev-network-device-renaming-immediately-give.patch that tries to keep support of already deprecated "75-persistent-net-generator.rules" based interface renaming mechanism, this patch also propagated into Ubuntu. This patch will retry renaming with a 90 seconds timeout when the error code is -EEXIST, so the uevent processing will always be blocked in the last ifrename step in the victim system.
Signed-off-by: You-Sheng Yang vicamo@gmail.com