]> 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)
commit3408be145a5d6418ff955fe5badde652be90e700
tree6945da1ae8a647d73f21f2aa08a49b5a2e840ce2
parentaf06b628a6bde8506bbad32dbf7cc641c0176ad7
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: 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>
drivers/infiniband/hw/cxgb4/cm.c