Skip to content
Snippets Groups Projects
Commit 99a7e2bf authored by Wei Yongjun's avatar Wei Yongjun Committed by Jason Gunthorpe
Browse files

IB/ipoib: Fix error return code in ipoib_dev_init()


Fix to return a negative error code from the ipoib_neigh_hash_init()
error handling case instead of 0, as done elsewhere in this function.

Fixes: 515ed4f3 ("IB/IPoIB: Separate control and data related initializations")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarYuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent cb80fb18
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment