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 |
||
---|---|---|
.. | ||
mlx5_accel | ||
mlx5_core | ||
mlx5_en | ||
mlx5_fpga | ||
mlx5_fpga_tools | ||
mlx5_ib | ||
mlx5_lib | ||
cmd.h | ||
cq.h | ||
device.h | ||
diagnostics.h | ||
doorbell.h | ||
driver.h | ||
fs.h | ||
mlx5_ifc.h | ||
mlx5_rdma_if.h | ||
mlx5io.h | ||
mpfs.h | ||
port.h | ||
qp.h | ||
srq.h | ||
tls.h | ||
vport.h |