diff options
author | Yossi Etigin <yosefe@Voltaire.COM> | 2008-11-12 10:24:38 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-11-12 10:24:38 -0800 |
commit | 93a3ab939ba90e00e193f0bad98f43fbdfbd925d (patch) | |
tree | 440fda184cac17d6d347f031d2fcff6a995eb41c /drivers/s390 | |
parent | fe25c56190bbc0951d7c53b4ccd148e669d69938 (diff) | |
download | blackbird-op-linux-93a3ab939ba90e00e193f0bad98f43fbdfbd925d.tar.gz blackbird-op-linux-93a3ab939ba90e00e193f0bad98f43fbdfbd925d.zip |
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 <https://bugs.openfabrics.org/show_bug.cgi?id=1329>.
Signed-off-by: Yossi Etigin <yosefe@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions