commit | c4c3f279cd8e9cc1d3e2f364a27beadb2e69cda8 | [log] [tgz] |
---|---|---|
author | Don Wood <donald.e.wood@intel.com> | Sat Sep 05 20:36:36 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Sep 05 20:36:36 2009 -0700 |
tree | 30324ca5c323132e2e7d3beecdef84ee8ac4b610 | |
parent | e07cccf4046978df10f2e13fe2b99b2f9b3a65db [diff] |
RDMA/nes: Update refcnt during disconnect During termination, it is possible for the refcnt to go to zero while the worker thread is posting events upward. This fix increments the refcnt before the request is passed to the worker thread. The thread decrements the refcnt when the request is completed. Signed-off-by: Don Wood <donald.e.wood@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>