Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp864503pxb; Sun, 21 Feb 2021 03:04:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaYIADYYDUabyJ7W447wX+IEO5lUPAygPlerof2QYDlp5XDlmn6z6p3fHWQreiPnqXbBVZ X-Received: by 2002:a17:906:1457:: with SMTP id q23mr16486179ejc.43.1613905466809; Sun, 21 Feb 2021 03:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613905466; cv=none; d=google.com; s=arc-20160816; b=mITuF0liskmRL0HewBRVxK6gqEhiWjtSF7oEDKTb6MBqpDHLrhAlA0JoX8oZbET1gt zERIumjVhpAE4u88OGCsLXc7qlIa43fUL0Vhv0u0CnlRg74zOApbxZ87+/twa9cplUge EpXO1uLCkKAw11b3DYu6yP3gmkiPcd3BK6Fe6dqxybz710SB154vmoFrHFIHZVy6VQAb 4O3WESUq1kv38FHfhXAea4lLjEtPxijS52KJJd5khf6oZ1qzjfgatk4CdsBr/FSamJC9 fE15aM/axMusFBUQfWsQwdEPRnndSSd9pt2zm+aLE3CpL2ulS5wQ/Yl61GJUxTpYsw4g jMlw== 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:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=Mt/g3d/QBPpf9y/y8oLlrZ1Qf/vLoDqNrwATz7kNHc0=; b=wTP3XFrXxceiIeq39sRg1wJjDQ+SLhp9ExYfEQyR/U3jHqe1PoYZu/VSeWx262ySHQ aVtH7IDvX1mqLrN3RJTBFBMvkrq3ZwQQVaRVhXaqrBiYjy/FiQ3A5gTHtAwlRjKPV4Vb 3vmdaFUXuE77YhSh7BGqPcPXKmU344j9iC14J1+xp2gFuENhPnrL786na0uldcZH5wLZ vXHVs3blqMFg9xNKRMv890JHy3Uz+9OwZkeGyZXNS1FY49jWVbqUYHliy5vnoBSXPLZq NpF4AnoXAp5tOTROUkeNdhAjwMz6A4DIAgo7Qf146LVv1FBgEoOwxJbNzaSa4mJjdc89 YPPQ== 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 q3si1796133ejt.322.2021.02.21.03.03.43; Sun, 21 Feb 2021 03:04:26 -0800 (PST) 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 S229866AbhBUK7J convert rfc822-to-8bit (ORCPT + 99 others); Sun, 21 Feb 2021 05:59:09 -0500 Received: from mailer.bingner.com ([64.62.210.4]:29170 "EHLO mail.bingner.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbhBUK7H (ORCPT ); Sun, 21 Feb 2021 05:59:07 -0500 X-Greylist: delayed 941 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Feb 2021 05:59:07 EST Received: from EX02.ds.sbdhi.com (2001:470:3c:1::22) 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.2044.4; Sun, 21 Feb 2021 00:42:44 -1000 Received: from EX02.ds.sbdhi.com ([fe80::8911:a681:797:3bb6]) by EX02.ds.sbdhi.com ([fe80::8911:a681:797:3bb6%2]) with mapi id 15.01.2044.004; Sun, 21 Feb 2021 00:42:44 -1000 From: Sam Bingner To: "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: Re: [PATCH] usbnet: ipheth: fix connectivity with iOS 14 Thread-Index: AdcIPCziP88UnOb2Try4p4IFfkZ3BQ== Date: Sun, 21 Feb 2021 10:42:44 +0000 Message-ID: <370902e520c44890a44cb5dd0cb1595f@bingner.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [98.155.121.8] 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 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. Sam