aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2019-12-12 11:12:13 +0200
committerDoug Ledford <[email protected]>2019-12-12 15:38:15 -0500
commit89f988d93c62384758b19323c886db917a80c371 (patch)
tree2028ccb6c9816c2a022eef75ab4ea65861bda64c /lib/netdev-notifier-error-inject.c
parent33df2f1929df4a1cb13303e344fbf8a75f0dc41f (diff)
IB/mlx4: Follow mirror sequence of device add during device removal
Current code device add sequence is: ib_register_device() ib_mad_init() init_sriov_init() register_netdev_notifier() Therefore, the remove sequence should be, unregister_netdev_notifier() close_sriov() mad_cleanup() ib_unregister_device() However it is not above. Hence, make do above remove sequence. Fixes: fa417f7b520ee ("IB/mlx4: Add support for IBoE") Signed-off-by: Parav Pandit <[email protected]> Reviewed-by: Maor Gottlieb <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions