summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2020-10-13 13:42:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 10:11:51 +0100
commit67ffeb7ee6f39f2bac1e18619186c70d54ed1733 (patch)
tree527f0ebce9cdef23158f5547d3ccdf0bc2c84322 /include
parent72ba8ec11f5f9eeb4f58c61a136cb783a3ce84e1 (diff)
RDMA/rxe: Handle skb_clone() failure in rxe_recv.c
[ Upstream commit 71abf20b28ff87fee6951ec2218d5ce7969c4e87 ] 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/20201013184236.5231-1-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions