From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] Clean up 'FLAG_POINTTOPOINT' and 'FLAG_MULTI_PACKET' overlaps in usbnet.h Date: Thu, 14 Apr 2011 00:22:52 -0700 (PDT) Message-ID: <20110414.002252.183040988.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gottfried.haider@gmail.com, netdev@vger.kernel.org To: huajun.li.lee@gmail.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:43118 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753299Ab1DNHX1 (ORCPT ); Thu, 14 Apr 2011 03:23:27 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: huajun li Date: Thu, 14 Apr 2011 09:43:32 +0800 > USB tethering does not work anymore since 2.6.39-rc2, but it's okay in > -rc1. The root cause is the new added mask code 'FLAG_POINTTOPOINT' > overlaps 'FLAG_MULTI_PACKET' in include/linux/usb/usbnet.h, this > causes logic issue in rx_process(). This patch cleans up the overlap. > > Reported-and-Tested-by: Gottfried Haider > Signed-off-by: Huajun Li Applied, thanks.