diff options
| author | Linyu Yuan <linyyuan@codeaurora.com> | 2021-06-09 07:35:47 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-16 11:34:53 +0200 |
| commit | 4e0d9280b6b13556f9f39dba0854cc670151653f (patch) | |
| tree | 678061947ee3748063d1eb8b00d12dd452f0c21a /lib/memory-notifier-error-inject.c | |
| parent | c6db1c0f08eaabf4cd490b9689cf5b02cca84b57 (diff) | |
usb: gadget: eem: fix wrong eem header operation
commit 305f670846a31a261462577dd0b967c4fa796871 upstream.
when skb_clone() or skb_copy_expand() fail,
it should pull skb with lengh indicated by header,
or not it will read network data and check it as header.
Cc: <stable@vger.kernel.org>
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.com>
Link: https://lore.kernel.org/r/20210608233547.3767-1-linyyuan@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
