mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
netdevsim: move devlink registration under the instance lock
To prevent races with netdev code accessing free devlink instances move the registration under the devlink instance lock. Core now waits for the instance to be registered before accessing it. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5c5ea1d09f
commit
82a3aef2e6
1 changed files with 8 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue