aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_recv.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-05-02 10:48:05 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-05-03 11:10:03 -0300
commitdab2175800ef0b45d5e70a7337bd6cb311292ebe (patch)
treee805d3cf2844ad0ce3720ecb138e33c551038cbc /drivers/infiniband/sw/rxe/rxe_recv.c
parentRDMA/cma: Use rdma_read_gid_attr_ndev_rcu to access netdev (diff)
downloadlinux-dev-dab2175800ef0b45d5e70a7337bd6cb311292ebe.tar.xz
linux-dev-dab2175800ef0b45d5e70a7337bd6cb311292ebe.zip
RDMA/rxe: Use rdma_read_gid_attr_ndev_rcu to access netdev
Use rdma_read_gid_attr_ndev_rcu() to access netdevice attached to GID entry under rcu lock. This ensures that while working on the netdevice of the GID, it doesn't get freed. 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/sw/rxe/rxe_recv.c')
0 files changed, 0 insertions, 0 deletions