aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-06-21 15:31:25 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-22 09:02:59 -0600
commit59d40813328f405976774662ddb530c6e9e9df52 (patch)
treed6808a56db7c73a4e3645710f2a69b3a7c316f25 /drivers/infiniband/hw
parentRDMA/cma: Consider net namespace while leaving multicast group (diff)
downloadlinux-dev-59d40813328f405976774662ddb530c6e9e9df52.tar.xz
linux-dev-59d40813328f405976774662ddb530c6e9e9df52.zip
IB/core: Free GID table entry during GID deletion
If we already hold the table->lock when doing the kref_put it means we are in a context where it is safe to do the deletion synchronously, with no need for the work queue. This helps to eliminate issues when GID change is requested as part of MAC address change or bonding event change where expectation is to replace the GID almost immediately. Fixes: b150c3862d21 ("IB/core: Introduce GID entry reference counts") Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions