1
0
Fork 0
alistair23-linux/drivers/net/usb
Yves-Alexis Perez beead01065 usbnet: ipheth: fix connectivity with iOS 14
[ Upstream commit f33d9e2b48 ]

Starting with iOS 14 released in September 2020, connectivity using the
personal hotspot USB tethering function of iOS devices is broken.

Communication between the host and the device (for example ICMP traffic
or DNS resolution using the DNS service running in the device itself)
works fine, but communication to endpoints further away doesn't work.

Investigation on the matter shows that no UDP and ICMP traffic from the
tethered host is reaching the Internet at all. For TCP traffic there are
exchanges between tethered host and server but packets are modified in
transit leading to impossible communication.

After some trials Matti Vuorela discovered that reducing the URB buffer
size by two bytes restored the previous behavior. While a better
solution might exist to fix the issue, since the protocol is not
publicly documented and considering the small size of the fix, let's do
that.

Tested-by: Matti Vuorela <matti.vuorela@bitfactor.fi>
Signed-off-by: Yves-Alexis Perez <corsac@corsac.net>
Link: https://lore.kernel.org/linux-usb/CAAn0qaXmysJ9vx3ZEMkViv_B19ju-_ExN8Yn_uSefxpjS6g4Lw@mail.gmail.com/
Link: https://github.com/libimobiledevice/libimobiledevice/issues/1038
Link: https://lore.kernel.org/r/20201119172439.94988-1-corsac@corsac.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-08 10:40:24 +01:00
..
Kconfig
Makefile
aqc111.c
aqc111.h
asix.h
asix_common.c net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 2020-09-09 19:12:37 +02:00
asix_devices.c net: usb: asix: init MAC address buffers 2019-07-02 15:24:48 -07:00
ax88172a.c ax88172a: fix ax88172a_unbind() failures 2020-07-29 10:18:31 +02:00
ax88179_178a.c net: usb: ax88179_178a: fix missing stop entry in driver_info 2020-10-14 10:33:04 +02:00
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c r8152: support additional Microsoft Surface Ethernet Adapter variant 2020-06-03 08:21:02 +02:00
cdc_mbim.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cdc_ncm.c net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() 2019-11-13 14:30:16 -08:00
cdc_subset.c
ch9200.c
cx82310_eth.c cx82310_eth: fix a memory leak bug 2019-08-18 13:01:54 -07:00
dm9601.c net: usb: dm9601: Add USB ID of Keenetic Plus DSL 2020-09-12 14:18:55 +02:00
gl620a.c
hso.c usb: hso: check for return value in hso_serial_common_create() 2020-08-11 15:33:37 +02:00
huawei_cdc_ncm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
int51x1.c
ipheth.c usbnet: ipheth: fix connectivity with iOS 14 2020-12-08 10:40:24 +01:00
kalmia.c net: kalmia: fix memory leaks 2019-08-18 13:03:21 -07:00
kaweth.c
lan78xx.c net: lan78xx: replace bogus endpoint lookup 2020-08-11 15:33:40 +02:00
lan78xx.h
lg-vl600.c net: usb: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-08-22 16:22:03 -07:00
mcs7830.c
net1080.c
pegasus.c net: usb: pegasus: fix improper read if get_registers() fail 2019-08-01 18:18:27 -04:00
pegasus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
plusb.c
qmi_wwan.c net: usb: qmi_wwan: Set DTR quirk for MR400 2020-11-24 13:28:59 +01:00
r8152.c r8152: support additional Microsoft Surface Ethernet Adapter variant 2020-06-03 08:21:02 +02:00
rndis_host.c rndis_host: increase sleep time in the query-response loop 2020-10-07 08:01:26 +02:00
rtl8150.c net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails 2020-10-14 10:33:06 +02:00
sierra_net.c
smsc75xx.c net: usb: Merge cpu_to_le32s + memcpy to put_unaligned_le32 2019-07-22 20:44:14 -07:00
smsc75xx.h
smsc95xx.c smsc95xx: avoid memory leak in smsc95xx_bind 2020-07-16 08:16:39 +02:00
smsc95xx.h
sr9700.c
sr9700.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sr9800.c net: usb: sr9800: fix uninitialized local variable 2019-10-15 21:02:12 -07:00
sr9800.h
usbnet.c usbnet: ignore endpoints with invalid wMaxPacketSize 2019-09-21 12:06:55 -07:00
zaurus.c