linux/drivers/infiniband
Parav Pandit 59d4081332 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: b150c3862d ("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>
2018-06-22 09:02:59 -06:00
..
core IB/core: Free GID table entry during GID deletion 2018-06-22 09:02:59 -06:00
hw Merge branch 'icrc-counter' into rdma.git for-next 2018-06-22 08:53:27 -06:00
sw IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
ulp IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00