]> git.baikalelectronics.ru Git - kernel.git/commit
netdevsim: Move devlink registration to be last devlink command
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 25 Sep 2021 11:22:57 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 15:31:59 +0000 (16:31 +0100)
commitf1ffdb45a3d1f6d000b12130834b11cf35e04211
tree92aa4908c68e312bc89edccf7e9c62a217ba7d83
parent3c3ad2037305ffb60ff4474c4ca07c1c2be8a6c3
netdevsim: Move devlink registration to be last devlink command

This change prevents from users to access device before devlink is
fully configured.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/dev.c