diff options
author | Huy Nguyen <huyn@mellanox.com> | 2018-08-15 11:08:48 -0500 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-09-05 17:08:33 -0700 |
commit | 47bc94b82291e007da61ee1b3d18c77871f3e158 (patch) | |
tree | c82f421f7b4c0cbff185923bf032af2d034c4176 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | df7ddb2396cd162e64aaff9401be05e31e438961 (diff) |
net/mlx5: Check for error in mlx5_attach_interface
Currently, mlx5_attach_interface does not check for error
after calling intf->attach or intf->add. When these two calls
fails, the client is not initialized and will cause issues such as
kernel panic on invalid address in the teardown path (mlx5_detach_interface)
Fixes: 737a234bb638 ("net/mlx5: Introduce attach/detach to interface API")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions