summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2019-03-19 11:05:41 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-04-09 22:33:50 +0300
commitdf3a8344d404a810b4aadbf19b08c8232fbaa715 (patch)
treecb0651e664c37def8385d8ebf9fee536116309ab /tools/perf/scripts/python/export-to-postgresql.py
parent31634bf5dcc418b5b2cacd954394c0c4620db6a2 (diff)
downloadlinux-df3a8344d404a810b4aadbf19b08c8232fbaa715.tar.xz
net/mlx5: FPGA, tls, idr remove on flow delete
Flow is kfreed on mlx5_fpga_tls_del_flow but kept in the idr data structure, this is risky and can cause use-after-free, since the idr_remove is delayed until tls_send_teardown_cmd completion. Instead of delaying idr_remove, in this patch we do it on mlx5_fpga_tls_del_flow, before actually kfree(flow). Added synchronize_rcu before kfree(flow) Fixes: ab412e1dd7db ("net/mlx5: Accel, add TLS rx offload routines") Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions