]> git.baikalelectronics.ru Git - kernel.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)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 25 Mar 2021 13:25:58 +0000 (10:25 -0300)
commit1dfcdc369f78837e3be6a0acd1936ef1dfeceb2b
tree6945da1ae8a647d73f21f2aa08a49b5a2e840ce2
parenta33cba42e79b95f4f3b43939590a795523f5535b
RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server

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: bfb8a271f8e3 ("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>
drivers/infiniband/hw/cxgb4/cm.c