]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
authorPotnuri Bharat Teja <bharat@chelsio.com>
Wed, 24 Mar 2021 19:04:53 +0000 (00:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:45:00 +0000 (14:45 +0200)
commit929aa64792e0422019a23370a19b2b9a6962c3ce
treeee3f19da8639ed3d5e9fe464799524df914c85aa
parent4531282a80355e120b5e7d849b4c3b4f30c34461
RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server

[ Upstream commit 3408be145a5d6418ff955fe5badde652be90e700 ]

Not setting the ipv6 bit while destroying ipv6 listening servers may
result in potential fatal adapter errors due to lookup engine memory hash
errors. Therefore always set ipv6 field while destroying ipv6 listening
servers.

Fixes: 830662f6f032 ("RDMA/cxgb4: Add support for active and passive open connection with IPv6 address")
Link: https://lore.kernel.org/r/20210324190453.8171-1-bharat@chelsio.com
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/cxgb4/cm.c