Re: [PATCH 1/1] iser-target: Fix handling of RDMA_CV_EVENT_ADDR_CHANGE
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-07-19 17:11:38
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-07-19 17:11:38
On Mon, Jul 19, 2021 at 04:07:44PM +0000, Chesnokov Gleb wrote:
The iSCSI socket address does not change. But the cma_id at the IB layer, which is bound to the iSCSI socket, will change. The problem is that the new cma_id is trying to bind to a socket address that is still bound to the old cma_id. That is, before you bind a new cma_id to a socket, you must first delete the old one.
So why is iser trying to rebind a listening socket to the same address? Isn't that the bug here? Just don't do that. Jason