freebsd-dev/sys/ofed/drivers/infiniband/core
Hans Petter Selasky 1866c98e64 Infiniband clients must be attached and detached in a specific order in ibcore.
Currently the linking order of the infiniband, IB, modules decide in which
order the clients are attached and detached. For example one IB client may
use resources from another IB client. This can lead to a potential deadlock
at shutdown. For example if the ipoib is unregistered after the ib_multicast
client is detached, then if ipoib is using multicast addresses a deadlock may
happen, because ib_multicast will wait for all its resources to be freed before
returning from the remove method.

Fix this by using module_xxx_order() instead of module_xxx().

Differential Revision:	https://reviews.freebsd.org/D23973
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2020-07-06 08:50:11 +00:00
..
agent.h
cm_msgs.h
core_priv.h Replace rdma_is_upper_dev_rcu() with rdma_vlan_dev_real_dev() in ibcore. 2019-10-16 08:55:29 +00:00
ib_addr.c Convert OFED rtable interactions to the new routing KPI. 2020-04-15 13:06:55 +00:00
ib_agent.c
ib_cache.c
ib_cm.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_cma.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_cq.c
ib_device.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_fmr_pool.c
ib_iwcm.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_iwpm_msg.c
ib_iwpm_util.c
ib_mad_rmpp.c
ib_mad.c ibcore: Fix an array index check 2018-12-05 13:20:51 +00:00
ib_multicast.c ibcore: Check ib_find_pkey() return value. 2018-12-05 13:20:22 +00:00
ib_packer.c
ib_roce_gid_mgmt.c Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
ib_sa_query.c Replace rdma_is_upper_dev_rcu() with rdma_vlan_dev_real_dev() in ibcore. 2019-10-16 08:55:29 +00:00
ib_smi.c
ib_sysfs.c ibcore: Add support for IB_SPEED_HDR in sysfs rate printout. 2018-12-05 13:19:52 +00:00
ib_ucm.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_ucma.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_ud_header.c
ib_umem_odp.c
ib_umem_rbtree.c
ib_umem.c
ib_user_mad.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_uverbs_cmd.c Make sure to error out when arming the CQ fails in ibcore. 2019-05-08 10:32:45 +00:00
ib_uverbs_main.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_uverbs_marshall.c
ib_verbs.c Fix prio vs. nonprio tagged traffic in RDMACM 2019-06-04 06:21:31 +00:00
iwcm.h
iwpm_util.h
mad_priv.h
mad_rmpp.h
opa_smi.h
sa.h
smi.h
uverbs.h