From: Pradeep Satyanarayana Date: Tue, 12 Feb 2008 23:00:59 +0000 (-0800) Subject: IPoIB/cm: Fix ipoib_cm_dev_stop() cleanup when drain times out X-Git-Tag: v2.6.25-rc3~117^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec229e5e81b3cf757e5e8b6a8bd0b4f32fe52f8c;p=pandora-kernel.git IPoIB/cm: Fix ipoib_cm_dev_stop() cleanup when drain times out Commit efcd9971 ("IPoIB/cm: Factor out ipoib_cm_free_rx_reap_list()") introduced a bug in ipoib_cm_dev_stop() when the receive drain times out. In that case, the function moves all the pending rx stuff into a private list but then calls ipoib_cm_free_rx_reap_list(), which handles a different list. Fix this by moving everything to the rx_reap_list that will actually get freed up. This fixes . Signed-off-by: Pradeep Satyanarayana Signed-off-by: Roland Dreier --- Reading git-diff-tree failed