If an error occurs after srp_fr_pool_get() succeeded and before the
descriptor is stored in srp_map_state (*state->fr.next++ = desc)
then srp_unmap_data() won't free the newly allocated memory
descriptor. Hence free the descriptor explicitly.
Fixes:
|
||
---|---|---|
.. | ||
ib_srp.c | ||
ib_srp.h | ||
Kbuild | ||
Kconfig |