kernel_samsung_a53x/drivers/net/usb
Eric Dumazet bd7a46a38e net: usb: ax88179_178a: stop lying about skb->truesize
[ Upstream commit 4ce62d5b2f7aecd4900e7d6115588ad7f9acccca ]

Some usb drivers try to set small skb->truesize and break
core networking stacks.

In this patch, I removed one of the skb->truesize overide.

I also replaced one skb_clone() by an allocation of a fresh
and small skb, to get minimally sized skbs, like we did
in commit 1e2c61172342 ("net: cdc_ncm: reduce skb truesize
in rx path")

Fixes: f8ebb3ac881b ("net: usb: ax88179_178a: Fix packet receiving")
Reported-by: shironeko <shironeko@tesaguri.club>
Closes: https://lore.kernel.org/netdev/c110f41a0d2776b525930f213ca9715c@tesaguri.club/
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jose Alonso <joalonsof@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240421193828.1966195-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 11:32:37 +01:00
..
aqc111.c usb: aqc111: check packet for fixup for true limit 2024-11-18 12:11:56 +01:00
aqc111.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asix.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asix_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asix_devices.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ax88172a.c asix: Add check for usbnet_get_endpoints 2024-11-18 12:12:07 +01:00
ax88179_178a.c net: usb: ax88179_178a: stop lying about skb->truesize 2024-11-19 11:32:37 +01:00
catc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc-phonet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc_eem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc_ether.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc_mbim.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc_ncm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc_subset.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ch9200.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx82310_eth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm9601.c net: usb: dm9601: fix wrong return value in dm9601_mdio_read 2024-11-18 23:18:28 +01:00
gl620a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hso.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
huawei_cdc_ncm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
int51x1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipheth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kalmia.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kaweth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan78xx.c net: lan78xx: fix runtime PM count underflow on link stop 2024-11-18 23:19:34 +01:00
lan78xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lg-vl600.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcs7830.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
net1080.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pegasus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pegasus.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
plusb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qmi_wwan.c net: usb: qmi_wwan: claim interface 4 for ZTE MF290 2024-11-18 12:11:57 +01:00
r8152.c r8152: Release firmware if we have an error in probe 2024-11-18 10:58:30 +01:00
rndis_host.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8150.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sierra_net.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsc75xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsc75xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsc95xx.c net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg 2024-11-18 10:58:29 +01:00
smsc95xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sr9700.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sr9700.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sr9800.c sr9800: Add check for usbnet_get_endpoints 2024-11-19 08:44:48 +01:00
sr9800.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usbnet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zaurus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00