freebsd-dev/sys/ofed
Hans Petter Selasky bf5075e41e ibcore: Store and restore ah_attr during LAP msg processing.
During CM LAP processing, ah_attr is reinitialized on receiving
a LAP request. First likely during CM request processing.

ah_attr might get zeroed out if LAP processing fails.
Therefore, try to create a new ah_attr for the LAP message.
If the initialization fails, continue with older ah_attr.
If the initialization passes, consider the new ah_attr by
overwriting the older one.

Linux commit:
0e225dcb7681c0a8e52fb9dc68bd8ab973de4ca2

MFC after:	1 week
Reviewed by:	kib
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2021-07-12 14:22:30 +02:00
..
drivers/infiniband ibcore: Store and restore ah_attr during LAP msg processing. 2021-07-12 14:22:30 +02:00
include ibcore: Add rdma_reject_msg() helper function. 2021-07-12 14:22:30 +02:00