android_kernel_xiaomi_sdm845/drivers/infiniband
Roland Dreier 5beba53230 IB/mthca: No userspace SRQs if HCA doesn't have SRQ support
Leave all SRQ methods out of the device's uverbs_cmd_mask if the
device doesn't have SRQ support (because of ancient firmware) so that
we don't allow userspace to call the driver's create_srq method.  This
fixes a userspace-triggerable oops caused by ib_uverbs_create_srq()
following the device's ->create_srq function pointer, which will be
NULL if the device doesn't support SRQs.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-08-18 10:41:46 -07:00
..
core IB/core: Fix SM LID/LID change with client reregister set 2006-08-16 09:54:47 -07:00
hw IB/mthca: No userspace SRQs if HCA doesn't have SRQ support 2006-08-18 10:41:46 -07:00
ulp IB/ipoib: Remove broken link from Kconfig and documentation 2006-08-03 10:48:31 -07:00
Kconfig IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00