diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2016-09-18 18:20:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-20 05:10:15 +0300 |
commit | 4eea37d7b92076fdeac2a21e5f4dbd92d286719d (patch) | |
tree | fc9ccd75ec79343b9b06084dc908ff4dbe94f0e5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | babd6134a54d70efe875fa5661a20eaecb63f278 (diff) | |
download | linux-4eea37d7b92076fdeac2a21e5f4dbd92d286719d.tar.xz |
net/mlx5: E-Switch, Fix error flow in the SRIOV e-switch init code
When enablement of the SRIOV e-switch in certain mode (switchdev or legacy)
fails, we must set the mode to none. Otherwise, we'll run into double free
based crashes when further attempting to deal with the e-switch (such
as when disabling sriov or unloading the driver).
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions