]> git.baikalelectronics.ru Git - kernel.git/commit
RDS/IB: wait for IB dev freeing work to finish during rmmod
authorZach Brown <zach.brown@oracle.com>
Fri, 25 Jun 2010 21:59:49 +0000 (14:59 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:16:32 +0000 (18:16 -0700)
commit1b249f3dde0f67777eb1818795cbd39966c197c5
tree309638f0739708cecd066ebad43f95832e3f8dd8
parent8e038905b5c5031d86738e2521f1b53283655970
RDS/IB: wait for IB dev freeing work to finish during rmmod

The RDS IB client removal callback can queue work to drop the final reference
to an IB device.  We have to make sure that this function has returned before
we complete rmmod or the work threads can try to execute freed code.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
net/rds/ib.c