From: Arne Redlich Date: Tue, 4 Mar 2008 12:07:22 +0000 (+0200) Subject: IB/iser: Fix list iteration bug X-Git-Tag: v2.6.25-rc6~43^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a378270c085080b2f38dee6308de4d8413b5141;p=pandora-kernel.git 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 Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier --- Reading git-diff-tree failed