Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2231049pxb; Sat, 21 Nov 2020 14:06:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCZJAK8ZLmciZDlrR5jyUruLsCylkjT1pbYnaChLLP2jEmoFpfqfQgmxfrIKQHYJuwdRz9 X-Received: by 2002:aa7:cc8f:: with SMTP id p15mr43237237edt.240.1605996388453; Sat, 21 Nov 2020 14:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605996388; cv=none; d=google.com; s=arc-20160816; b=gww24bLj341ESsdfDeOYbb081OiarJsdij4tQhIaVsCxcoxGVOa1rnuAtDiWcsW47I Sg3piaX5U5EjbsEELRd/aaWSCB+df9j9RhUZCrzKsuWJsQVklnmBygfVkRKjMRxumVBE RYM3w3+4/MNBH8fo0W1OWSJBHrReJMuWcZu1VqPCvpfTIdquwXWzQT4PRhVqsQl70lCB CEBpRnmA7Ls1iJNgoqMDQUdBzYLqU7eGGoRm68WpMkpBl8CncIlpdJuZpndGxJWrC/nS tSWQgEhSn3eDA4nv8DaOLXykFj8BSJiJ4WmJz+h5KjMV2x79KdZzRHxc7nSya6MWe2Tw hECg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YAq/3+vy5UjdlxpFWA37zbMUdAgE6qMy2PI+8VuiyK0=; b=FSe+fDgARYrr4Soiin5/T0ohUXpjbR2cq9OBuYZ55LvF2O9H2vGe1/CUlOt3r6dCJF sOYEmxmO84RGTLB48spZ2/MYTYTiq1AdLAzbAggMBOwbDfyFcI0KOH3DlTvtfI9KkFgp m22Kd6k84Q9Xo+3NtL44D1vkKpeXxMPVRUMfhXwfWnLTr78wlQzs7bJOKY+YT1gCRJ8p nTMgJWRLrN5IaRfh6ZPEn2dwcXafeZR6zYB7XsoXWpBV9BkB8wT0LvZBC1W4x2NPXX1S vJ/FOBdQPuGf1lG5zsaJ6bUgZX5+6oik63uAx2rDRfoyq/qZpnIz8+R6Okjqr9o+fJGl GnRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DHo8lItm; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi2si4231680edb.237.2020.11.21.14.06.05; Sat, 21 Nov 2020 14:06:28 -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=@kernel.org header.s=default header.b=DHo8lItm; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728626AbgKUWDN (ORCPT + 99 others); Sat, 21 Nov 2020 17:03:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:52806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728554AbgKUWDN (ORCPT ); Sat, 21 Nov 2020 17:03:13 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 00D2F221EB; Sat, 21 Nov 2020 22:03:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605996192; bh=R6LqJxezNsIXeikq7/GWHBaCNJJhNQqtYGcbp68R/3M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DHo8lItmfyDlGx9rDMqCPK3RRroyKQ1eP/qG2LLbTrbP86PRDurhtMGIjcPjaPGFF GbWL1gsbT9DO9XYEjhQ+Sk+nVuGrCVmCwPe2UfADDYAcqNrmN43VavyrrCmsRg0gM5 I3lzR5ifW8oYRN04boVkjovzzP11R6f7R6sNQpZo= Date: Sat, 21 Nov 2020 14:03:11 -0800 From: Jakub Kicinski To: Yves-Alexis Perez Cc: "David S. Miller" , Martin Habets , Luc Van Oostenryck , Shannon Nelson , "Michael S. Tsirkin" , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Matti Vuorela , stable@vger.kernel.org Subject: Re: [PATCH] usbnet: ipheth: fix connectivity with iOS 14 Message-ID: <20201121140311.42585c68@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201119172439.94988-1-corsac@corsac.net> References: <20201119172439.94988-1-corsac@corsac.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Nov 2020 18:24:39 +0100 Yves-Alexis Perez wrote: > 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 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 > Signed-off-by: Yves-Alexis Perez > Link: https://lore.kernel.org/linux-usb/CAAn0qaXmysJ9vx3ZEMkViv_B19ju-_ExN8Yn_uSefxpjS6g4Lw@mail.gmail.com/ > Link: https://github.com/libimobiledevice/libimobiledevice/issues/1038 Applied to net with the typo fixed, thanks!