Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpcreconciler/linuxitems/adapter.go: set MAC and interface rename whi…
…le interface is DOWN On attempt to set MAC address or rename interface which is UP host returns `Device or resource busy`. Patch fixes the error by changing the order: first set MAC and rename interface, then bring interface UP. Patch fixes inability to use host interface, the problem was reproduced on RPI4 board. Presumably any device should be affected. Signed-off-by: Roman Penyaev <[email protected]> Fixes: 7a6981b ("Add support for switch network instance with multiple ports")
- Loading branch information