usbnet: Fix up 'FLAG_POINTTOPOINT' and 'FLAG_MULTI_PACKET' overlaps.
authorhuajun li <huajun.li.lee@gmail.com>
Wed, 13 Apr 2011 15:43:32 +0000 (15:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2011 07:22:27 +0000 (00:22 -0700)
commit38a2f37258f9e2ae3f6e4241e01088be8dfaf4e9
tree06cb5dc48a0f749e975c0fe6f4ffab5e15c74a07
parent3e8c806a08c7beecd972e7ce15c570b9aba64baa
usbnet: Fix up 'FLAG_POINTTOPOINT' and 'FLAG_MULTI_PACKET' overlaps.

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 <gottfried.haider@gmail.com>
Signed-off-by: Huajun Li <huajun.li.lee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/usb/usbnet.h