opnsense-src/sys/ofed
Hans Petter Selasky 5570397c12 ibcore: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()
The algorithm pre-allocates a cm_id since allocation cannot be done while
holding the cm.lock spinlock, however it doesn't free it on one error
path, leading to a memory leak.

Linux commit:
c14dfddbd869bf0c2bafb7ef260c41d9cebbcfec

PR:		264248
Sponsored by:	NVIDIA Networking

(cherry picked from commit c4a4155053)
2022-06-07 08:44:29 +02:00
..
drivers/infiniband ibcore: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen() 2022-06-07 08:44:29 +02:00
include ibcore: Add support for NDR link speed. 2022-03-03 15:28:53 +01:00