The list of net devices is protected by the netlink mutex locking and unlocking functions, rtnl_lock and
rtnl_unlock
The list of net devices is protected by the netlink mutex locking and unlocking functions, rtnl_lock and rtnl_unlock. The
list of devices should not be manipulated without locking because if the locks are not used, it is possible for the device list to become corrupted or two
devices that try to register in parallel to be assigned the same name.