linux_dsm_epyc7002/drivers/infiniband/ulp/ipoib
Amir Vadai 58e9cc90cd IB/IPoIB: Fix bad error flow in ipoib_add_port()
Error values of ib_query_port() and ib_query_device() weren't propagated
correctly. Because of that, ipoib_add_port() could return NULL value,
which escaped the IS_ERR() check in ipoib_add_one() and we crashed.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-07-14 13:20:10 -04:00
..
ipoib_cm.c IPoIB/CM: Fix indentation level 2015-05-05 13:21:27 -04:00
ipoib_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ipoib_fs.c IPoIB: Remove unnecessary test for NULL before debugfs_remove() 2014-08-12 21:59:54 -07:00
ipoib_ib.c IB/ipoib: Handle QP in SQE state 2015-04-15 16:06:19 -04:00
ipoib_main.c IB/IPoIB: Fix bad error flow in ipoib_add_port() 2015-07-14 13:20:10 -04:00
ipoib_multicast.c IB/ipoib: Remove IPOIB_MCAST_RUN bit 2015-04-15 16:06:19 -04:00
ipoib_netlink.c infiniband: make sure the src net is infiniband when create new link 2014-01-03 20:38:56 -05:00
ipoib_verbs.c IB/core: Change ib_create_cq to use struct ib_cq_init_attr 2015-06-12 14:49:10 -04:00
ipoib_vlan.c IB/ipoib: Fix ndo_get_iflink 2015-04-17 15:21:04 -04:00
ipoib.h IB/ipoib: Remove IPOIB_MCAST_RUN bit 2015-04-15 16:06:19 -04:00
Kconfig
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00