Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932306AbcJQB5g (ORCPT ); Sun, 16 Oct 2016 21:57:36 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33969 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756707AbcJQB5Q (ORCPT ); Sun, 16 Oct 2016 21:57:16 -0400 Date: Mon, 17 Oct 2016 09:56:18 +0800 From: Peter Chen To: Lipengcheng Cc: "balbi@ti.com" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: USB GADGET: have a question about usb2eth Message-ID: <20161017015618.GB1301@b29397-desktop> References: <637796ED17F7774FB27D6AAE3C6951584A949A31@SZXEMA509-MBS.china.huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <637796ED17F7774FB27D6AAE3C6951584A949A31@SZXEMA509-MBS.china.huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 668 Lines: 12 On Sat, Oct 15, 2016 at 09:19:33AM +0000, Lipengcheng wrote: > Hi, > I have a question about usb2eth. In the function gen_ndis_set_resp of the rndis.c, the value of *params->filter may be 0x20 from the pc set command; Howerver the value is used cdc_filter = dev->port_usb->cdc_filter in the function eth_start_xmit of the u_ether.c. If we do not judge the RNDIS_PACKET_TYPE_PROMISCUOUS and the value is 0x20, the broadcast packet can not send the pc win7; At the result, the linux ping the win7 is slow an the first. > The Felipe's email has changed, please check MAINTAINERS. Besides, would you wrap up line to 75 characters please? -- Best Regards, Peter Chen