]> 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)
commit70c2297f9107eb77633d55da6771f1edcaf82001
tree6945da1ae8a647d73f21f2aa08a49b5a2e840ce2
parent61b18c43a19f227fa26e21b0fa6d05cfca81f878
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: c2ec0d9d5b92 ("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