commit | efcd99717f76c6d19dd81203c60fe198480de522 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Fri Jan 25 14:15:24 2008 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Jan 25 14:15:24 2008 -0800 |
tree | 684815ced67fd8443fe9e039cba4b4909c1f73ce | |
parent | 7b3687df66cab4ecd6efb42cfa0c7de60cc4e3b9 [diff] |
IPoIB/cm: Factor out ipoib_cm_free_rx_reap_list() Factor out the code for going through the rx_reap list of struct ipoib_cm_rx and freeing each one. This consolidates the code duplicated between ipoib_cm_dev_stop() and ipoib_cm_rx_reap() and reduces the risk of error when adding additional accounting. Signed-off-by: Roland Dreier <rolandd@cisco.com>