2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/staging/rdma
Dennis Dalessandro 33ab349037 staging/rdma/hfi1: Reduce snoop locking scope in IOCTL handler.
This patch avoids issues while calling into copy from/to user while holding the
lock by only taking the lock when it is absolutely required.

The only commands which require the snoop lock are: *Set Filter *Clear Filter
*Clear Queue

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-21 13:53:37 -08:00
..
amso1100 staging: rdma: use kmalloc_array instead of kmalloc 2015-11-19 16:55:37 -08:00
ehca staging: rdma: ehca: Added a blank line 2015-11-19 17:13:00 -08:00
hfi1 staging/rdma/hfi1: Reduce snoop locking scope in IOCTL handler. 2015-12-21 13:53:37 -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