diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-03-24 11:14:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-24 19:55:31 +0100 |
commit | b8f975545cdbcc316cf20e827e7966d4410b5c5a (patch) | |
tree | b53eda2346f5ff0bac3b5810a3321d8d6ba27ab3 /net/Kconfig | |
parent | net: devlink: warn on setting type on unregistered port (diff) | |
download | linux-b8f975545cdbcc316cf20e827e7966d4410b5c5a.tar.xz linux-b8f975545cdbcc316cf20e827e7966d4410b5c5a.zip |
net: devlink: add port type spinlock
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: Jiri Pirko <jiri@mellanox.com>
v1->v2:
- rebased
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions