Fixed race conditions on RDMA channel manipulations found via source reading:
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 3 Aug 2009 16:00:36 +0000 (16:00 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 3 Aug 2009 16:00:36 +0000 (16:00 +0000)
commitb53daffce7a0679d6da4e7b5f11cbfc989712dc2
tree0ad3397c0caefdb530ba66867d17d37ccf83d2c2
parent07cbcccf03b81b63836b06243da1acd1befae75e
Fixed race conditions on RDMA channel manipulations found via source reading:
- Added a second argument to srpt_find_channel() that specified whether or not
  the channel should be removed from the channel list if found.
- Moved list_del() statement from the body of the srpt_release_channel()
  function to its callers.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1005 d57e44dd-8a1f-0410-8b47-8ef2f437770f
srpt/src/ib_srpt.c