Skip to content
Snippets Groups Projects
user avatar
Jiri Pirko authored
Add spinlock to protect port type and type_dev pointer consistency.
Without that, userspace may see inconsistent type and type_dev
combinations.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
v1->v2:
- rebased
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
b8f97554
History
Name Last commit Last update
..