diff options
author | 2008-03-04 14:07:22 +0200 | |
---|---|---|
committer | 2008-03-10 21:15:49 -0700 | |
commit | 9a378270c085080b2f38dee6308de4d8413b5141 (patch) | |
tree | 347ce131d4b06f11430632ded2b6a257950a6193 /lib/bitmap.c | |
parent | RDMA/cxgb3: Fix iwch_create_cq() off-by-one error (diff) | |
download | linux-dev-9a378270c085080b2f38dee6308de4d8413b5141.tar.xz linux-dev-9a378270c085080b2f38dee6308de4d8413b5141.zip |
IB/iser: Fix list iteration bug
The iteration through the list of "iser_device"s during device
lookup/creation is broken -- it might result in an infinite loop if
more than one HCA is used with iSER. Fix this by using
list_for_each_entry() instead of the open-coded flawed list iteration
code.
Signed-off-by: Arne Redlich <arne.redlich@xiranet.com>
Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions