Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp810430pxb; Wed, 22 Sep 2021 13:30:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTerT2HZ9tckoltSq3E/PFPeDnZTYy3tNmaLrNjQohCz2jJlHrWgPMQQ7fUgieFxm9IfT4 X-Received: by 2002:a05:6e02:58d:: with SMTP id c13mr726639ils.101.1632342631543; Wed, 22 Sep 2021 13:30:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632342631; cv=none; d=google.com; s=arc-20160816; b=KOFBc+itb9IrA1RUezZ7FzxBCa0jsse/0YQ9BAY6Q+E9qvlLti4skpxxRJFRGfhMPc qdVuUC4OvKkxjzHrquDypMrCgwRGnBJ90vdLGDHmh4XEKNR7vIyuXsU/fUaQb2kX9DlX JHvWninz7G7jn0ZRbYWysllkTt7bBXt/d35J8jjDxrpuP4O5xU8WN70MGAt2YYllJrWy 5B9nt9FaaoMcgFHX12Bw+kOsQbL4PEPhFZA2Ch7Yv0aLakT7vwc6Q3/qzduCNQvLvXss tKU5TzYsgKxJ6XdBeu0U0vSMqCpMWb+GpJtdL57VLUOSdDS6DtufiwHaGvizjxKERwZK XkLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=N+gRkeK7zI9GvutYfMpR2Tzaof8xEtSLKH4beEiX5E0=; b=zWXpc/sCSGTbUabbKCBEeFp/c8k75t27ssPsYltlYVib6GcijY6pyj+XX94TGoyNoH 6nkYpeCa48EcpUOjWIezS25xUevC3kfOzIAWoQfVKLG5goPWks8IZ6hED+A2QNQ2zuNB +u5XaMaSXEKsdZT2AMYWfoWR50sLzXXlnoaNSI6JXH/PoY979yjnKt8ZZJ6c5Hc0oJuU 06PanSf01R1d+b2pd0psB3eIHBi9n/RU6qt6/iAU1HbTE1rujvggSj6lL2a8ICfFPgIi RODYO/vz0j5SDUKL9QOTRTnRrhZ6DPVWSuPx3ItLPlR8QDzK7ivy1RgSlhaFXdX+RHBp bRdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i29si3530347jab.79.2021.09.22.13.30.19; Wed, 22 Sep 2021 13:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237581AbhIVU20 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 22 Sep 2021 16:28:26 -0400 Received: from mailer.bingner.com ([64.62.210.4]:8645 "EHLO mail.bingner.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237381AbhIVU2Z (ORCPT ); Wed, 22 Sep 2021 16:28:25 -0400 X-Greylist: delayed 902 seconds by postgrey-1.27 at vger.kernel.org; Wed, 22 Sep 2021 16:28:25 EDT Received: from EX01.ds.sbdhi.com (2001:470:3c:1::21) by EX01.ds.sbdhi.com (2001:470:3c:1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 22 Sep 2021 10:11:52 -1000 Received: from EX01.ds.sbdhi.com ([fe80::44d3:ef59:fdca:d83]) by EX01.ds.sbdhi.com ([fe80::44d3:ef59:fdca:d83%3]) with mapi id 15.01.2242.010; Wed, 22 Sep 2021 10:11:52 -1000 From: Sam Bingner To: Oliver Neukum , "linux-usb@vger.kernel.org" CC: "David S. Miller" , Martin Habets , Luc Van Oostenryck , Shannon Nelson , "Michael S. Tsirkin" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Matti Vuorela , Jakub Kicinski , "Yves-Alexis Perez" Subject: RE: [PATCH] usbnet: ipheth: fix connectivity with iOS 14 Thread-Topic: [PATCH] usbnet: ipheth: fix connectivity with iOS 14 Thread-Index: AQHXCROd8ZjcASMffkmnvxDkK/JoLKuxyU/A Date: Wed, 22 Sep 2021 20:11:52 +0000 Message-ID: <79d05aaa5052408897aeb8039c6a1582@bingner.com> References: <370902e520c44890a44cb5dd0cb1595f@bingner.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [98.150.132.238] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry I didn't have time to research this further to prove it was a regression - but there is now somebody else who has done so and created a patch. I thought it might be good to give a link to it to you guys. It caused problems on all iOS versions AFAIK. The patch and discussion is available at: https://github.com/openwrt/openwrt/pull/4084 Sam -----Original Message----- From: Oliver Neukum Sent: Monday, February 22, 2021 2:10 AM To: Sam Bingner ; linux-usb@vger.kernel.org Cc: David S. Miller ; Martin Habets ; Luc Van Oostenryck ; Shannon Nelson ; Michael S. Tsirkin ; netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Matti Vuorela ; Jakub Kicinski ; Yves-Alexis Perez Subject: Re: [PATCH] usbnet: ipheth: fix connectivity with iOS 14 Am Sonntag, den 21.02.2021, 10:42 +0000 schrieb Sam Bingner: > There seems to be a problem with this patch: > > Whenever the iPhone sends a packet to the tethered device that is 1500 bytes long, it gets the error "ipheth 1-1:4.2: ipheth_rcvbulk_callback: urb status: -79" on the connected device and stops passing traffic. I am able to bring it back up by shutting and unshutting the interface, but the same thing happens very quickly. I noticed that this patch dropped the max USB packet size from 1516 to 1514 bytes, so I decided to try lowering the MTU to 1498; this made the connection reliable and no more errors occurred. > > It appears to me that the iPhone is still sending out 1516 bytes over USB for a 1500 byte packet and this patch makes USB abort when that happens? I could duplicate reliably by sending a ping from the iphone (ping -s 1472) to the connected device, or vice versa as the reply would then break it. > > I apologize if this reply doesn't end up where it should - I tried to reply to the last message in this thread but I wasn't actually *on* the thread so I had to just build it as much as possible myself. Is this a regression? Does it work after reverting the patch? Which version of iOS? Regards Oliver