]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/addr: Use client registration to fix module unload race
authorSean Hefty <sean.hefty@intel.com>
Tue, 31 Oct 2006 19:12:59 +0000 (11:12 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 2 Nov 2006 22:26:04 +0000 (14:26 -0800)
commit49c031e5a9d71f295b0b1ab05a52386706991c96
tree723e979c84263c52971494b7ba69cbee25f602bc
parent1147a0360420bacc7c32e687d4c75d5181ba879f
RDMA/addr: Use client registration to fix module unload race

Require registration with ib_addr module to prevent caller from
unloading while a callback is in progress.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cma.c
include/rdma/ib_addr.h