diff options
author | Don Wood <[email protected]> | 2009-09-05 20:36:36 -0700 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2009-09-05 20:36:36 -0700 |
commit | c4c3f279cd8e9cc1d3e2f364a27beadb2e69cda8 (patch) | |
tree | 30324ca5c323132e2e7d3beecdef84ee8ac4b610 /drivers/mtd/lpddr/lpddr_cmds.c | |
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 <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions