+4
−0
+13
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>