linux_dsm_epyc7002/drivers/infiniband/sw
Bob Pearson 71abf20b28 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: e7ec96fc79 ("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/20201013184236.5231-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-10-16 13:57:55 -03:00
..
rdmavt RDMA: Explicitly pass in the dma_device to ib_register_device 2020-10-16 13:53:46 -03:00
rxe RDMA/rxe: Handle skb_clone() failure in rxe_recv.c 2020-10-16 13:57:55 -03:00
siw RDMA: Explicitly pass in the dma_device to ib_register_device 2020-10-16 13:53:46 -03:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00