[ewg] [PATCH]IPOIB/CM fix for bug# 906 -OFED-1.3

Or Gerlitz ogerlitz at voltaire.com
Wed Feb 13 03:00:35 PST 2008


Stefan Roscher wrote:
> yes this problem does also exist in 2.6.25-rc1. It was introduced by a patch from roland:
> http://git.kernel.org/?p=linux/kernel/git/roland/infiniband.git;a=commitdiff;h=efcd99717f76c6d19dd81203c60fe198480de522
> 
> In function ipoib_cm_dev_stop() the error-,drain- and flush lists are put into a local list after a timeout.
> In the past there was a list_for_each_entry loop iterating over this local list and destroyed all added QPs. 
> With the patch above the list_for_each_entry call is moved to function ipoib_cm_free_rx_reap_list(),
> which does not iterate the former local list, but device's reap_list.
> Pradeeps patch puts now all QPs after a timeout from error, drain and flush lists into the reap_list so that they were all freed in poib_cm_free_rx_reap_list().

OK, so send the patch to Roland for review before you put it in ofed.

Or.




More information about the ewg mailing list