From: Yossi Etigin Date: Wed, 12 Nov 2008 18:24:38 +0000 (-0800) Subject: IPoIB: Fix hang in ipoib_flush_paths() X-Git-Tag: v2.6.28-rc5~61^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93a3ab939ba90e00e193f0bad98f43fbdfbd925d;p=pandora-kernel.git IPoIB: Fix hang in ipoib_flush_paths() ipoib_flush_paths() can hang during an SM up/down loop: if path_rec_start() fails (for instance, because there is no sm_ah), the path is still added to the path list by neigh_add_path(). Then, ipoib_flush_paths() will wait for path->done, but it will never complete because the request was not issued at all. Fix this by completing path->done if issuing the query fails. This fixes . Signed-off-by: Yossi Etigin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed