freebsd-dev/sys/ofed/drivers/infiniband
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
..
core ibcore: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen() 2022-05-30 20:22:18 +02:00
ulp sockets: use socket buffer mutexes in struct socket directly 2022-05-12 13:22:12 -07:00
util Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00