aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2020-10-13 13:42:37 -0500
committerJason Gunthorpe <[email protected]>2020-10-16 13:57:55 -0300
commit71abf20b28ff87fee6951ec2218d5ce7969c4e87 (patch)
tree01c132c97eb628885454a3c2a9b2d58c90190bb0 /tools/perf/scripts/python/intel-pt-events.py
parente0d696d201dd5d31813787d9b61a42fc459eee89 (diff)
RDMA/rxe: Handle skb_clone() failure in rxe_recv.c
If skb_clone() is unable to allocate memory for a new sk_buff this is not detected by the current code. Check for a NULL return and continue. This is similar to other errors in this loop over QPs attached to the multicast address and consistent with the unreliable UD transport. Fixes: e7ec96fc7932f ("RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()") Addresses-Coverity-ID: 1497804: Null pointer dereferences (NULL_RETURNS) 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/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions