On Mon, Oct 12, 2020 at 05:52:30PM +0100, Alex Dewar wrote: > skb_clone() is called without checking if the returned pointer is NULL > before it is dereferenced. Fix by adding an additional error check. > > Fixes: e7ec96fc7932 ("RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()") > Addresses-Coverity-ID: 1497804: Null pointer dereferences (NULL_RETURNS) > Signed-off-by: Alex Dewar <alex.dewar90@xxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_recv.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) I took Bob's version of this since it is a little bit simpler Thanks, Jason