]> git.openfabrics.org - ~emulex/for-vlad/compat-rdma.git/commit
ib_srp: Avoid use-after-free during module unload on pre-2.6.36 kernels
authorBart Van Assche <bvanassche@acm.org>
Thu, 18 Oct 2012 12:45:33 +0000 (14:45 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 22 Oct 2012 11:41:26 +0000 (13:41 +0200)
commit810ec653fb3c4f9d74c9be74416c712bb63e9224
treee0adeece8a231ce7c039f482b1045664437feb1c
parentf59782b5b0cf4320b15f5daefb290456876c1475
ib_srp: Avoid use-after-free during module unload on pre-2.6.36 kernels

Since ib_unregister_client() flushes ib_wq that workqueue must be
destroyed after client unregistration instead of before.

This patch has been tested on RHEL 6.3 and SLES 11 SP2.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
patches/0025-ib_srp-Backport-to-older-kernels.patch