diff options
author | Parav Pandit <parav@mellanox.com> | 2018-05-14 11:11:08 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-05-16 14:11:46 -0600 |
commit | 0e225dcb7681c0a8e52fb9dc68bd8ab973de4ca2 (patch) | |
tree | 24b3330a9794d08c1e477958c36c1a6e2d619f29 /drivers/scsi/3w-xxxx.c | |
parent | a5c57d327272bdf3a8b19686eaca2ec683449e67 (diff) | |
download | blackbird-obmc-linux-0e225dcb7681c0a8e52fb9dc68bd8ab973de4ca2.tar.gz blackbird-obmc-linux-0e225dcb7681c0a8e52fb9dc68bd8ab973de4ca2.zip |
IB/cm: Store and restore ah_attr during LAP msg processing
During CM LAP processing, ah_attr is reinitialized on receiving LAP
request. First likely during CM request processing.
ah_attr might get zero out if LAP processing fails.
Therefore, attempt to create 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.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.c')
0 files changed, 0 insertions, 0 deletions