summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2019-03-07 10:27:18 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-03-29 22:24:42 +0300
commit8a91ad9355c66c5026d3d911b434a25408ab876c (patch)
tree7121a193b397b6e05fee9bf244fd4c4a4c61e8bb /tools/perf/scripts/python/export-to-postgresql.py
parentdd1b9e09c12b4231148f446c2eefd886ef6e3ddd (diff)
downloadlinux-8a91ad9355c66c5026d3d911b434a25408ab876c.tar.xz
net/mlx5: E-Switch, Fix access to invalid memory when toggling esw modes
The esw fdb table has a union of legacy and offloads members. So if we were in a certain esw mode we could set some memebers and not set null which is fine as on destroy path and don't care. But then moving from legacy to switchdev a second time, the cleanup flow of legacy mode checks if a struct member was in use if it's not null so we need to make sure to reset the code to null when we init legacy mode. Fixes: 8da202b24913 ("net/mlx5: E-Switch, Add support for VEPA in legacy mode.") Signed-off-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Huy Nguyen <huyn@mellanox.com> 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