linux/drivers/infiniband/sw
Bob Pearson 899aba891c RDMA/rxe: Fix FIXME in rxe_udp_encap_recv()
rxe_udp_encap_recv() drops the reference to rxe->ib_dev taken by
rxe_get_dev_from_net() which should be held until each received skb is
freed. This patch moves the calls to ib_device_put() to each place a
received skb is freed. It also takes references to the ib_device for each
cloned skb created to process received multicast packets.

Fixes: 4c173f596b ("RDMA/rxe: Use ib_device_get_by_netdev() instead of open coding")
Link: https://lore.kernel.org/r/20210128233318.2591-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-02-08 15:33:51 -04:00
..
rdmavt RDMA/sw/rdmavt/qp: Fix kernel-doc formatting problem 2021-01-28 15:42:27 -04:00
rxe RDMA/rxe: Fix FIXME in rxe_udp_encap_recv() 2021-02-08 15:33:51 -04:00
siw RDMA/siw: Fix handling of zero-sized Read and Receive Queues. 2021-01-08 16:29:18 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00