diff options
author | Bob Pearson <[email protected]> | 2021-01-28 17:33:19 -0600 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-02-08 15:33:51 -0400 |
commit | 899aba891cab1555c9ca16a558769efb177baf44 (patch) | |
tree | e9f6b33b3fabbc2db5a6c2d7722c706d88486252 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5120bf0a5fc15dec210a0fe0f39e4a256bb6e349 (diff) |
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: 4c173f596b3f ("RDMA/rxe: Use ib_device_get_by_netdev() instead of open coding")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions