Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1517039pxb; Mon, 22 Feb 2021 04:11:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/y5MEvWt2b91e8FIJEWkEV39pLeMwK2cIdsriBUpU7Ey5iZIcHvKXjXaP3v7V2edkx1WG X-Received: by 2002:a17:906:dff4:: with SMTP id lc20mr20480225ejc.290.1613995917108; Mon, 22 Feb 2021 04:11:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613995917; cv=none; d=google.com; s=arc-20160816; b=0nPIq3NdoKb5/iKNZNGWH/2AD7YWJs4tdVUXVnv+LuFDREocISZg0lfIcBcBgvaOjI 16ceO9RJjY80T/yP3aaxitS1qk5101DUOMxA5dRw3M7OxzhrYqXMWdvoxuED5uw4+Nba RLGb/lnPUNjcg3KDOmSm07OSlN5c6pFFvG7Q/sl04FwY829XoODCQCRHF6/BSLwWfQBH xc0Lq2f/h64R59fhqEwnPCXAISY+xyd6SPHO4uc9OVMhxVF1TR4vOiCSVxUAt2ACroLG xUVAu4knH+oFDjYhz01S2owvE3J2DL6nJUJW7Sp2eyWU/F1ApgBvWofxS3JPxo2MltLL /jrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=yLeSjdAn6ytvvSZ7l1bruf6v0eYDWUB2oiRB+v/1EnM=; b=hSAhwzhUhWQr+9pC40sxfXvHUkS0s0aqxidLzle+fNasQQX/6YO3JdPksbZnqdGVLg v0Ibs1vz8HJAND6wfv0nYJIoEZGlnpRzFNobx+qEspfF5fiqugUsqjMhmiwuGQOu2TKA muF6etzO7N7cDXS6WZtbsk4phrdrZBG1LZgop/eUc1jUZ3gHdKVFhQ/OtXvFwJe2iABo g5l53YkUIECx9ncRlO9s3hVEaibPe1qEmCR0wLy5RqoF7wBAkKRP0BBPd/wwpUFKRn6T 3/ii7rxnytX2pubsM2Qpp2LkYhS39RS9cwOxFPYnAOqLUxaMPXYO1Goa6jciDZF2sbJY KY/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="e/nAV+MY"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si11481519edt.86.2021.02.22.04.11.34; Mon, 22 Feb 2021 04:11:57 -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; dkim=pass header.i=@suse.com header.s=susede1 header.b="e/nAV+MY"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbhBVMKi (ORCPT + 99 others); Mon, 22 Feb 2021 07:10:38 -0500 Received: from mx2.suse.de ([195.135.220.15]:56192 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhBVMKc (ORCPT ); Mon, 22 Feb 2021 07:10:32 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1613995783; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yLeSjdAn6ytvvSZ7l1bruf6v0eYDWUB2oiRB+v/1EnM=; b=e/nAV+MYeJjAgiyPTwc40OITAzxjyTJR6GKilTsxVYuBh8sK8jo7wYdB+AV3weQEJR4YWY hZ3CT15WUxeCSGnV7dmKjSzHJx4w88Ebamntg49TLET0SNTdnFQFE3G4pHu6cTJbJv4N10 aTyCPn+8FaTPp1cVYwCPRJ4lpv4xDYY= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1FB54AD5C; Mon, 22 Feb 2021 12:09:43 +0000 (UTC) Message-ID: Subject: Re: [PATCH] usbnet: ipheth: fix connectivity with iOS 14 From: Oliver Neukum 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 Date: Mon, 22 Feb 2021 13:09:38 +0100 In-Reply-To: <370902e520c44890a44cb5dd0cb1595f@bingner.com> References: <370902e520c44890a44cb5dd0cb1595f@bingner.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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