linux/drivers/staging/rdma
Sebastian Sanchez 07859def5d staging/rdma/hfi1: Fix for module parameter hdrq_entsize when it's 0
If driver is loaded with parameter hdrq_entsize=0, then
there's a NULL dereference when the driver gets unloaded.
This causes a kernel Oops and prevents the module  from
being unloaded. This patch fixes this issue by making sure
-EINVAL gets returned when hdrq_entsize=0.

Reviewed-by: Chegondi, Harish <harish.chegondi@intel.com>
Reviewed-by: Haralanov, Mitko <mitko.haralanov@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-21 14:00:17 -08:00
..
amso1100 staging: rdma: use kmalloc_array instead of kmalloc 2015-11-19 16:55:37 -08:00
ehca Staging: rdma:Delete unnecessary NULL check before calling function "kmem_cache_destroy" 2015-12-21 14:00:17 -08:00
hfi1 staging/rdma/hfi1: Fix for module parameter hdrq_entsize when it's 0 2015-12-21 14:00:17 -08:00
ipath staging: rdma: use kmalloc_array instead of kmalloc 2015-11-19 16:55:37 -08:00
Kconfig staging/rdma: Kconfig change STAGING_RDMA to be tristate. 2015-09-29 03:42:27 +02:00
Makefile IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00