HomeFreeBSD

Fix access to non-initialized CM_ID object in ibcore.

Description

Fix access to non-initialized CM_ID object in ibcore.

The attempt to join multicast group without ensuring that CMA device
exists will lead to the following crash reported by syzkaller.

Linux commit:
7688f2c3bbf55e52388e37ac5d63ca471a7712e1

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details