]> 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)
commit1f64137874b1ea2e39f410a4f61de6ab2d42f03f
treecf809d38461907347cce99f54a03b0df0d1e53d4
parent80408b0c605dc574925c11612585243aa69ceed5
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