]> git.itanic.dy.fi Git - linux-stable/commit
net/core/skbuff: Check the return value of skb_copy_bits()
authorlily <floridsleeves@gmail.com>
Tue, 23 Aug 2022 05:44:11 +0000 (22:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 09:32:03 +0000 (11:32 +0200)
commit9d040a629e7e7965c70e3ff16e1a8180470b8746
tree0d6b8cc74fb516998b7c8a952e31ddd623710a48
parent43b9af72751a98cb9c074b170fc244714aeb59d5
net/core/skbuff: Check the return value of skb_copy_bits()

[ Upstream commit c624c58e08b15105662b9ab9be23d14a6b945a49 ]

skb_copy_bits() could fail, which requires a check on the return
value.

Signed-off-by: Li Zhong <floridsleeves@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/core/skbuff.c