diff options
author | Eric Dumazet <edumazet@google.com> | 2020-01-07 10:57:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-07 14:09:28 -0800 |
commit | 47240ba0cd09bb6fe6db9889582048324999dfa4 (patch) | |
tree | c177df1bb0e0ac39692942c7006954bd52d911c9 /tools/iio | |
parent | da29f2d84bd10234df570b7f07cbd0166e738230 (diff) |
net: usb: lan78xx: fix possible skb leak
If skb_linearize() fails, we need to free the skb.
TSO makes skb bigger, and this bug might be the reason
Raspberry Pi 3B+ users had to disable TSO.
Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: RENARD Pierre-Francois <pfrenard@gmail.com>
Cc: Stefan Wahren <stefan.wahren@i2se.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Cc: Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions