Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit efcd9971 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
parent 7b3687df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment