aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2018-08-15 11:08:48 -0500
committerSaeed Mahameed <saeedm@mellanox.com>2018-09-05 17:08:33 -0700
commit47bc94b82291e007da61ee1b3d18c77871f3e158 (patch)
treec82f421f7b4c0cbff185923bf032af2d034c4176 /ipc
parentnet/mlx5: Consider PCI domain in search for next dev (diff)
downloadlinux-dev-47bc94b82291e007da61ee1b3d18c77871f3e158.tar.xz
linux-dev-47bc94b82291e007da61ee1b3d18c77871f3e158.zip
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 'ipc')
0 files changed, 0 insertions, 0 deletions