freebsd-dev/sys/ofed
Hans Petter Selasky c4a4155053 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
MFC after:	1 week
Sponsored by:	NVIDIA Networking
2022-05-30 20:22:18 +02:00
..
drivers/infiniband ibcore: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen() 2022-05-30 20:22:18 +02:00
include ofed: Fix a typo in a source code comment 2022-04-09 14:39:36 +02:00