lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTik4W7+1YY+dkP4NrQZ7J3e0crmXbg@mail.gmail.com>
Date:	Fri, 8 Apr 2011 05:31:20 +0200
From:	Gottfried Haider <gottfried.haider@...il.com>
To:	huajun li <huajun.li.lee@...il.com>
Cc:	Greg KH <greg@...ah.com>, linux-kernel@...r.kernel.org,
	linux-net@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [Regression] USB tethering does not work anymore in 2.6.29-rc2
 (rndis_host, does not receive DHCP offer anymore)

>   I found the new added mask code 'FLAG_POINTTOPOINT' overlapped
> 'FLAG_MULTI_PACKET' in    include/linux/usb/usbnet.h, this maybe
> caused logic issue in rx_process(). I create a patch for this, but
> have no such a device to test it, could you have a try? thanks.

Will try the patch tomorrow morning and report back.

Gottfried


> [PATCH]    Clean up mask code overlaps in driver_info of usbnet
>
> Signed-off-by:  Huajun Li <huajun.li.lee@...il.com>
> ---
>  include/linux/usb/usbnet.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
> index 3c7329b..0e18550 100644
> --- a/include/linux/usb/usbnet.h
> +++ b/include/linux/usb/usbnet.h
> @@ -103,8 +103,8 @@ struct driver_info {
>  * Indicates to usbnet, that USB driver accumulates multiple IP packets.
>  * Affects statistic (counters) and short packet handling.
>  */
> -#define FLAG_MULTI_PACKET      0x1000
> -#define FLAG_RX_ASSEMBLE       0x2000  /* rx packets may span >1 frames */
> +#define FLAG_MULTI_PACKET      0x2000
> +#define FLAG_RX_ASSEMBLE       0x4000  /* rx packets may span >1 frames */
>
>        /* init device ... can sleep, or cause probe() failure */
>        int     (*bind)(struct usbnet *, struct usb_interface *);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ