]> git.baikalelectronics.ru Git - kernel.git/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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2022 12:16:48 +0000 (13:16 +0100)
commit62ea768095b7abff9ca2a40103dc4e1a5a479e82
treee1deb141dbb7593b362de15cec8744fed89b7e0a
parent35fdfbac7322ba0ac8a179c95d6457184c9d49f4
net/core/skbuff: Check the return value of skb_copy_bits()

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>
net/core/skbuff.c