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:30:01 +0000 (11:30 +0200)
commit0b7058067eb8ec143f415a42d6909a28f166de5f
tree60215aa8048e78b340d63a50d0a9a99ea2770dfc
parentbd1b769564eb0eae61bdf0dbb9b569b089cf36ac
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