Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3205492lqp; Tue, 26 Mar 2024 02:41:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaAS6tjRl6qYJ1gkJrrubqbRLp0/4u4ELUeyx9pCD6/f0ZhZRVoqyzxd5Im415XWPsycNovillJmBJTr6wXczP0gU/fH2SKDW4bjzYvw== X-Google-Smtp-Source: AGHT+IF04Ia1Gkkfx5RKYulsAAGdMud6jYdqRRS5V5ZVxHexlXvPDGCvL1qLfebMmnJsjA8Ixlmn X-Received: by 2002:a81:77d6:0:b0:609:fb34:4c52 with SMTP id s205-20020a8177d6000000b00609fb344c52mr482220ywc.21.1711446086244; Tue, 26 Mar 2024 02:41:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711446086; cv=pass; d=google.com; s=arc-20160816; b=yMQrlyXppUv/fve8lDMpqqnaWU5znIGiqe01KmTwt4Y7eKJw/6VHO+ijf3XUfCuCf9 lSTxXrmPTxq3cxbDAjTNk/9mzRpk9kIxTwE+kVI9mGFcMt2Gx7AJnUFUC9dH7Cn+k9zh uqw/Vxj50y/m9sh6/53cFayRfx6GCkUvjIaaCSj2yR7fMW0M8ovGHT6XK3L581Yy8NI0 xcgjTiV7vpcwQdJSWF5aXGrdZJAQx14+I3QZ0igYHMmjnnFlUNi/4lAKNV9X+UvBQ1YF srfcQ2r79c7cC1oxt8UVO8qda5LfAkoZAQ4bgFXgL0qeACO/6qatTALssR0MebZrk4E+ UJkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZrL5YVNfTuHFQ055UFssx+WETH2EiHPVC3rKTAW/3+4=; fh=/JqBsPgWaccPc+3C0aIdi/tqn9CR2MzKa+2kLjI9RUQ=; b=cLnxBLFoz5mBYSi4OEqB63558Gzl5pAO9ouedCau6JKJda4YcSjvbDHsSIvDMgIw5x fEwDpUNmZ3/tAzD8KQsq8Abxdev1k2ZERe2tZWAuC/ZeiZYW6Wj3rfzzzecojn3zdqKL Ad9T/fF+q3ehxrNxtOPI7doNy2AeHGECnLTzxPnyFmmOzvhyYUcP0xn/lPtzG5Wtx/z+ g1GrzNyJkCTmusJhQUkh5WtFGcGtzwfXvRblONLfGFl1nhOcTY6PCWb9tBKJEeRW1/7h 7varp6FZmaBDoruEUl43a7PbATcP9YRIlJwqWG4hd63nWJxUug+b5kGfD2gNQuKbmQbz kHSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sr2mHc5+; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-118690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bq31-20020a05620a469f00b00789e7318111si7963693qkb.209.2024.03.26.02.41.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 02:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sr2mHc5+; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-118690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DE50D1C3BAC7 for ; Tue, 26 Mar 2024 09:41:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D385823C5; Tue, 26 Mar 2024 09:34:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sr2mHc5+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 315514CB3D; Tue, 26 Mar 2024 09:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711445679; cv=none; b=PhGH8g+5C2XHTol7azUFg5wCXFKzuvWIPy8bFDFjWI1RYmMyVx/KowTFc54K/dkxVPtRUZNKxIg+F0VooBGeLgcO5y2ZezQlb83pTHYMdM2DjEIJ72rv879bODREIJN2bJ7SbEb6/Zz82zahdEBa3BxRggG8SUSOz5oeDLCnUx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711445679; c=relaxed/simple; bh=BL4wWvvNYVXrWBDw/289gfPssapLTh5QOAwqZAfBDQ0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bz4eIn+Agmwr/Gnu5jmuZTkBXxYXfBGE7rliDTLxU0WIvNLWsMlTwVBV7kEqfz8Zd/m6Lwz6Pg6ABemc+9Oi6SB9Xc+EfMTyLb7QJ3B0VmxXEAp1Y2StWYbcDboPzLEaGysJBmwBC8JN68YXmgNKhqV3zv8XXz2bQ+Vd5ASyzqQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sr2mHc5+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EF55C43390; Tue, 26 Mar 2024 09:34:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1711445678; bh=BL4wWvvNYVXrWBDw/289gfPssapLTh5QOAwqZAfBDQ0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sr2mHc5+K7ta5wpODqNPROLFS0sH0t7R1prronrJX3u99zWakRDNfDirKWLpsBQrx k/5ajTTvjGzBsuu3DuLNPHj5i3NzJPX1xM+wTn17SQ8r47Mt99N5gClytO6oHOwu/m /31hbbTammyFFdP5QNflb0SWEmHqxtOCedaSQi+0= Date: Tue, 26 Mar 2024 10:34:35 +0100 From: Greg KH To: Surong Pang Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Orson.Zhai@unisoc.com, Zhiyong.liu@unisoc.com, Surong.Pang@gmail.com Subject: Re: [PATCH] usb: gadget: rndis: add multi packages support for rndis Message-ID: <2024032615-smog-pardon-4d5f@gregkh> References: <20240306054949.324172-1-surong.pang@unisoc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240306054949.324172-1-surong.pang@unisoc.com> On Wed, Mar 06, 2024 at 01:49:49PM +0800, Surong Pang wrote: > As ncm, aggergate multi skb packages and transfer them at one URB. > In USB2.0, the network throughput can be improved from about 18MB/S > to 35MB/S. Why is rndis still being used? It's an insecure and obsolete protocol that should not be used at all anywhere. I keep trying to delete it entirely, but need to go and write an active exploit to prove to people just how bad it really is before I can do so... Adding more functionality to it is not a good idea, what is wrong with the other, built-in, networking protocols instead? Why are you using this old one still when there are so many better options out there? thanks, greg k-h