K 10 svn:author V 8 hselasky K 8 svn:date V 27 2022-06-07T06:49:46.382178Z K 7 svn:log V 529 ibcore: Fix possible memory leak in ib_mad_post_receive_mads() If ib_dma_mapping_error() returns non-zero value, ib_mad_post_receive_mads() will jump out of loops and return -ENOMEM without freeing mad_priv. Fix this memory-leak problem by freeing mad_priv in this case. Linux commit: a17f4bed811c60712d8131883cdba11a105d0161 PR: 264057 Sponsored by: NVIDIA Networking (cherry picked from commit ad7741ff693a39bab59b75e432bd922a62f3ef0a) Git Hash: 33870019c5f247b4602f1f044feadcc46bafa514 Git Author: hselasky@FreeBSD.org END