]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/i40iw: Fix a race condition
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:49:02 +0000 (10:49 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:06 +0000 (20:47 -0400)
commitd1bb64a9bfcf0aecafb37d812df716992e284d64
treecf809d38461907347cce99f54a03b0df0d1e53d4
parentf84a59072f3ed02a217c5a7020cdf1fa5884a872
RDMA/i40iw: Fix a race condition

Use the proper primitives to dereference the RCU pointer
upper_dev->ip_ptr. Compile-tested only.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_utils.c