commit | c1aea9e1765a047c7397da30f52315c43e3501fb | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Wed Jun 17 17:51:53 2020 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Jul 09 19:27:05 2020 -0700 |
tree | cafd5173737c94952308e6791bbd5c082eb6a2e3 | |
parent | 2fb15e72c0d7fc5fb05aefd3a7f0d70cf39d3ad4 [diff] |
net/mlx5e: Fix usage of rcu-protected pointer In mlx5e_configure_flower() flow pointer is protected by rcu read lock. However, after cited commit the pointer is being used outside of rcu read block. Extend the block to protect all pointer accesses. Fixes: 553f9328385d ("net/mlx5e: Support tc block sharing for representors") Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>