commit | f3181a10e13ac55e18958d7c48cba6f925c71483 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Fri Nov 21 20:50:55 2008 -0600 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Dec 05 11:00:24 2008 -0800 |
tree | 675ab6e91c6c5e4fa7e7d479fbdee04038fd75e6 | |
parent | abb77256761bc3ee7a21cc28f6f12a938964e83f [diff] |
RDMA/nes: Check cqp_avail_reqs is empty after locking the list Between the first empty list check and locking the list, the list can change. Check it again after it is locked to make sure the list is still not empty. Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Chien Tung <chien.tin.tung@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>