On Thu, Sep 06, 2018 at 10:58:57AM +0300, Leon Romanovsky wrote: > From: Parav Pandit <parav@xxxxxxxxxxxx> > > Even though device->ifindex is assigned before adding the device in the > list which is read by netlink flow, it is better to assign rdma device > index before publishing the device in the system to users and clients. > > Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx> > Reviewed-by: Daniel Jurgens <danielj@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/core/device.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied to for-next Thanks, Jason