summaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-17 14:01:58 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-07-30 02:40:26 +0300
commitb6fac0b46a1a76024698d240f0f9aac552f897b7 (patch)
tree9d3d08fcf8c7dc08fca15fabd7e1e098d500ecda /lib/pm-notifier-error-inject.c
parentfa833bd52b7b58d8311bf6a0be29a32e62a1f289 (diff)
downloadlinux-b6fac0b46a1a76024698d240f0f9aac552f897b7.tar.xz
net/mlx5e: Protect tc flow table with mutex
TC flow table is created when first flow is added, and destroyed when last flow is removed. This assumes that all accesses to the table are externally synchronized with rtnl lock. To remove dependency on rtnl lock, add new mutex mlx5e_tc_table->t_lock and use it to protect the flow table. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Jianbo Liu <jianbol@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions