<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/usb, branch v3.0.22</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>asix: fix infinite loop in rx_fixup()</title>
<updated>2012-01-12T19:35:43+00:00</updated>
<author>
<name>Aurelien Jacobs</name>
<email>aurel@gnuage.org</email>
</author>
<published>2012-01-07T20:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2643bcef53a08c09975861ebbed6d687571a2751'/>
<id>2643bcef53a08c09975861ebbed6d687571a2751</id>
<content type='text'>
commit 6c15d74defd38e7e7f8805392578b7a1d508097e upstream.

At this point if skb-&gt;len happens to be 2, the subsequant skb_pull(skb, 4)
call won't work and the skb-&gt;len won't be decreased and won't ever reach 0,
resulting in an infinite loop.

With an ASIX 88772 under heavy load, without this patch, rx_fixup() reaches
an infinite loop in less than a minute. With this patch applied,
no infinite loop even after hours of heavy load.

Signed-off-by: Aurelien Jacobs &lt;aurel@gnuage.org&gt;
Cc: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 6c15d74defd38e7e7f8805392578b7a1d508097e upstream.

At this point if skb-&gt;len happens to be 2, the subsequant skb_pull(skb, 4)
call won't work and the skb-&gt;len won't be decreased and won't ever reach 0,
resulting in an infinite loop.

With an ASIX 88772 under heavy load, without this patch, rx_fixup() reaches
an infinite loop in less than a minute. With this patch applied,
no infinite loop even after hours of heavy load.

Signed-off-by: Aurelien Jacobs &lt;aurel@gnuage.org&gt;
Cc: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>asix: new device id</title>
<updated>2012-01-12T19:35:04+00:00</updated>
<author>
<name>Aurelien Jacobs</name>
<email>aurel@gnuage.org</email>
</author>
<published>2011-12-16T10:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e50262ea574d1daf62529e2b282b8551790f7f38'/>
<id>e50262ea574d1daf62529e2b282b8551790f7f38</id>
<content type='text'>
commit e8303a3b2196272c3eb994d0fd1a189a958a2bdd upstream.

Adds the device id needed for the USB Ethernet Adapter delivered by
ASUS with their Zenbook.

Signed-off-by: Aurelien Jacobs &lt;aurel@gnuage.org&gt;
Acked-by: Grant Grundler &lt;grundler@chromium.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit e8303a3b2196272c3eb994d0fd1a189a958a2bdd upstream.

Adds the device id needed for the USB Ethernet Adapter delivered by
ASUS with their Zenbook.

Signed-off-by: Aurelien Jacobs &lt;aurel@gnuage.org&gt;
Acked-by: Grant Grundler &lt;grundler@chromium.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ASIX: Use only 11 bits of header for data size</title>
<updated>2011-11-11T17:36:38+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-07-26T16:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f7f00215ba28400e0f61c55e14e3d619888231ae'/>
<id>f7f00215ba28400e0f61c55e14e3d619888231ae</id>
<content type='text'>
commit bca0beb9363f8487ac902931a50eb00180a2d14a upstream.

The AX88772B uses only 11 bits of the header for the actual size. The other bits
are used for something else. This causes dmesg full of messages:

	asix_rx_fixup() Bad Header Length

This patch trims the check to only 11 bits. I believe on older chips, the
remaining 5 top bits are unused.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit bca0beb9363f8487ac902931a50eb00180a2d14a upstream.

The AX88772B uses only 11 bits of the header for the actual size. The other bits
are used for something else. This causes dmesg full of messages:

	asix_rx_fixup() Bad Header Length

This patch trims the check to only 11 bits. I believe on older chips, the
remaining 5 top bits are unused.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ASIX: Simplify condition in rx_fixup()</title>
<updated>2011-11-11T17:36:38+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-07-26T16:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=611778cd2a87a9b7376994caf4faa0caac9d1037'/>
<id>611778cd2a87a9b7376994caf4faa0caac9d1037</id>
<content type='text'>
commit bc466e678d0a98f445bf3f9c76fedf18e7dcc6b0 upstream.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit bc466e678d0a98f445bf3f9c76fedf18e7dcc6b0 upstream.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ipheth: iPhone 4 Verizon CDMA USB Product ID add</title>
<updated>2011-11-11T17:36:38+00:00</updated>
<author>
<name>Kavan Smith</name>
<email>kavansmith82@gmail.com</email>
</author>
<published>2011-08-31T05:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=869b18a75765d4f29e26ea8de123608fc9907903'/>
<id>869b18a75765d4f29e26ea8de123608fc9907903</id>
<content type='text'>
commit 02009afc223aae43b8e18918fc816e4520791537 upstream.

Add USB product ID for iPhone 4 CDMA Verizon
Tested on at least 2 devices

Signed-off-by: Kavan Smith &lt;kavansmith82@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 02009afc223aae43b8e18918fc816e4520791537 upstream.

Add USB product ID for iPhone 4 CDMA Verizon
Tested on at least 2 devices

Signed-off-by: Kavan Smith &lt;kavansmith82@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>usbnet/cdc_ncm: Don't use stack variables for DMA</title>
<updated>2011-11-11T17:36:37+00:00</updated>
<author>
<name>Josh Boyer</name>
<email>jwboyer@redhat.com</email>
</author>
<published>2011-08-08T02:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=91c193f925d75b03f5a7f31ae1358a87af33c78a'/>
<id>91c193f925d75b03f5a7f31ae1358a87af33c78a</id>
<content type='text'>
commit 75bc8ef528f7c4ea7e80384c5593487b6b3b535e upstream.

The cdc_ncm driver still has a few places where stack variables are
passed to the cdc_ncm_do_request function.  This triggers a stack trace in
lib/dma-debug.c if the CONFIG_DEBUG_DMA_API option is set.

Adjust these calls to pass parameters that have been allocated with
kzalloc.

Signed-off-by: Josh Boyer &lt;jwboyer@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 75bc8ef528f7c4ea7e80384c5593487b6b3b535e upstream.

The cdc_ncm driver still has a few places where stack variables are
passed to the cdc_ncm_do_request function.  This triggers a stack trace in
lib/dma-debug.c if the CONFIG_DEBUG_DMA_API option is set.

Adjust these calls to pass parameters that have been allocated with
kzalloc.

Signed-off-by: Josh Boyer &lt;jwboyer@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>rtl8150: rtl8150_disconnect(...) does not need tasklet_disable(...)</title>
<updated>2011-11-11T17:36:35+00:00</updated>
<author>
<name>huajun li</name>
<email>huajun.li.lee@gmail.com</email>
</author>
<published>2011-08-07T03:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=cfaef012006eddcba833b33cb7953a68b36869c6'/>
<id>cfaef012006eddcba833b33cb7953a68b36869c6</id>
<content type='text'>
commit c2e2a313ff8fdc25cedef5e63da712a6a0d35dfe upstream.

Executing cmd 'rmmod rtl8150' does not return(if your device connects
to host), the root cause is tasklet_disable() causes tasklet_kill()
block, remove it from rtl8150_disconnect().

Signed-off-by: Huajun Li &lt;huajun.li.lee@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit c2e2a313ff8fdc25cedef5e63da712a6a0d35dfe upstream.

Executing cmd 'rmmod rtl8150' does not return(if your device connects
to host), the root cause is tasklet_disable() causes tasklet_kill()
block, remove it from rtl8150_disconnect().

Signed-off-by: Huajun Li &lt;huajun.li.lee@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>cdc_ncm: fix endianness problem.</title>
<updated>2011-10-03T18:40:48+00:00</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>giuseppe@southpole.se</email>
</author>
<published>2011-08-03T22:10:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f85eb4c9c9c9016da4e43d86f8fc29267798eab7'/>
<id>f85eb4c9c9c9016da4e43d86f8fc29267798eab7</id>
<content type='text'>
commit 36c35416a94f5632c3addad05217ff02c39b3b61 upstream.

Fix a misusage of the struct usb_cdc_notification to pass arguments to the
usb_control_msg function.  The usb_control_msg function expects host endian
arguments but usb_cdc_notification stores these values as little endian.

Now usb_control_msg is directly invoked with host endian values.

Signed-off-by: Giuseppe Scrivano &lt;giuseppe@southpole.se&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 36c35416a94f5632c3addad05217ff02c39b3b61 upstream.

Fix a misusage of the struct usb_cdc_notification to pass arguments to the
usb_control_msg function.  The usb_control_msg function expects host endian
arguments but usb_cdc_notification stores these values as little endian.

Now usb_control_msg is directly invoked with host endian values.

Signed-off-by: Giuseppe Scrivano &lt;giuseppe@southpole.se&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ASIX: Add AX88772B USB ID</title>
<updated>2011-10-03T18:40:47+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-07-20T05:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=90278ca93cd14c1d9d1d360d333d78f0258616ab'/>
<id>90278ca93cd14c1d9d1d360d333d78f0258616ab</id>
<content type='text'>
commit 308859097831831a979f2e82cbeef0a94f438080 upstream.

This device can be found in Acer Iconia TAB W500 tablet dock.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 308859097831831a979f2e82cbeef0a94f438080 upstream.

This device can be found in Acer Iconia TAB W500 tablet dock.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>hso: fix a use after free condition</title>
<updated>2011-07-08T16:07:59+00:00</updated>
<author>
<name>Greg KH</name>
<email>greg@kroah.com</email>
</author>
<published>2011-07-08T03:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=5e2cd0825a43824827b233d95bc47c0c970e5bef'/>
<id>5e2cd0825a43824827b233d95bc47c0c970e5bef</id>
<content type='text'>
This needs to go to netdev:

From: Octavian Purdila &lt;octavian.purdila@intel.com&gt;

In hso_free_net_device hso_net pointer is freed and then used to
cleanup urb pools. Catched with SLAB_DEBUG during S3 resume:

[   95.824442] Pid: 389, comm: khubd Tainted: G         C  2.6.36greenridge-01400-g423cf13-dirty #154 Type2 - Board Product Name1/OakTrail
[   95.824442] EIP: 0060:[&lt;c1151551&gt;] EFLAGS: 00010202 CPU: 0
[   95.824442] EIP is at kref_put+0x29/0x42
[   95.824442] EAX: 6b6b6b6b EBX: 6b6b6b6b ECX: c2806b40 EDX: 00000037
[   95.824442] ESI: c1258d56 EDI: edd3d128 EBP: ee8cde0c ESP: ee8cde04
[   95.824442]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[   95.824442] Process khubd (pid: 389, ti=ee8cc000 task=ee95ed10 task.ti=ee8cc000)
[   95.824442] Stack:
[   95.824442]  edd07020 00000000 ee8cde14 c1258b77 ee8cde38 ef933a44 ef93572b ef935dec
[   95.824442] &lt;0&gt; 0000099a 6b6b6b6b 00000000 ee2da748 edd3e0c0 ee8cde54 ef933b9f ee3b53f8
[   95.824442] &lt;0&gt; 00000002 ee2da748 ee2da764 ef936658 ee8cde60 ef933d0c ee2da748 ee8cde84
[   95.824442] Call Trace:
[   95.824442]  [&lt;c1258b77&gt;] ? usb_free_urb+0x11/0x13
[   95.824442]  [&lt;ef933a44&gt;] ? hso_free_net_device+0x81/0xd8 [hso]
[   95.824442]  [&lt;ef933b9f&gt;] ? hso_free_interface+0x104/0x111 [hso]
[   95.824442]  [&lt;ef933d0c&gt;] ? hso_disconnect+0xb/0x18 [hso]
[   95.824442]  [&lt;c125b7f1&gt;] ? usb_unbind_interface+0x44/0x14a
[   95.824442]  [&lt;c11e56e8&gt;] ? __device_release_driver+0x6f/0xb1
[   95.824442]  [&lt;c11e57c7&gt;] ? device_release_driver+0x18/0x23
[   95.824442]  [&lt;c11e4e92&gt;] ? bus_remove_device+0x8a/0xa1
[   95.824442]  [&lt;c11e3970&gt;] ? device_del+0x129/0x163
[   95.824442]  [&lt;c11e2dc0&gt;] ? put_device+0xf/0x11
[   95.824442]  [&lt;c11e39bc&gt;] ? device_unregister+0x12/0x15
[   95.824442]  [&lt;c125915f&gt;] ? usb_disable_device+0x90/0xf0
[   95.824442]  [&lt;c125544f&gt;] ? usb_disconnect+0x6d/0xf8
[   95.824442]  [&lt;c1255f91&gt;] ? hub_thread+0x3fc/0xc57
[   95.824442]  [&lt;c1048526&gt;] ? autoremove_wake_function+0x0/0x2f
[   95.824442]  [&lt;c102529d&gt;] ? complete+0x34/0x3e
[   95.824442]  [&lt;c1255b95&gt;] ? hub_thread+0x0/0xc57
[   95.824442]  [&lt;c10481fc&gt;] ? kthread+0x63/0x68
[   95.824442]  [&lt;c1048199&gt;] ? kthread+0x0/0x68
[   95.824442]  [&lt;c1002d76&gt;] ? kernel_thread_helper+0x6/0x10

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This needs to go to netdev:

From: Octavian Purdila &lt;octavian.purdila@intel.com&gt;

In hso_free_net_device hso_net pointer is freed and then used to
cleanup urb pools. Catched with SLAB_DEBUG during S3 resume:

[   95.824442] Pid: 389, comm: khubd Tainted: G         C  2.6.36greenridge-01400-g423cf13-dirty #154 Type2 - Board Product Name1/OakTrail
[   95.824442] EIP: 0060:[&lt;c1151551&gt;] EFLAGS: 00010202 CPU: 0
[   95.824442] EIP is at kref_put+0x29/0x42
[   95.824442] EAX: 6b6b6b6b EBX: 6b6b6b6b ECX: c2806b40 EDX: 00000037
[   95.824442] ESI: c1258d56 EDI: edd3d128 EBP: ee8cde0c ESP: ee8cde04
[   95.824442]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[   95.824442] Process khubd (pid: 389, ti=ee8cc000 task=ee95ed10 task.ti=ee8cc000)
[   95.824442] Stack:
[   95.824442]  edd07020 00000000 ee8cde14 c1258b77 ee8cde38 ef933a44 ef93572b ef935dec
[   95.824442] &lt;0&gt; 0000099a 6b6b6b6b 00000000 ee2da748 edd3e0c0 ee8cde54 ef933b9f ee3b53f8
[   95.824442] &lt;0&gt; 00000002 ee2da748 ee2da764 ef936658 ee8cde60 ef933d0c ee2da748 ee8cde84
[   95.824442] Call Trace:
[   95.824442]  [&lt;c1258b77&gt;] ? usb_free_urb+0x11/0x13
[   95.824442]  [&lt;ef933a44&gt;] ? hso_free_net_device+0x81/0xd8 [hso]
[   95.824442]  [&lt;ef933b9f&gt;] ? hso_free_interface+0x104/0x111 [hso]
[   95.824442]  [&lt;ef933d0c&gt;] ? hso_disconnect+0xb/0x18 [hso]
[   95.824442]  [&lt;c125b7f1&gt;] ? usb_unbind_interface+0x44/0x14a
[   95.824442]  [&lt;c11e56e8&gt;] ? __device_release_driver+0x6f/0xb1
[   95.824442]  [&lt;c11e57c7&gt;] ? device_release_driver+0x18/0x23
[   95.824442]  [&lt;c11e4e92&gt;] ? bus_remove_device+0x8a/0xa1
[   95.824442]  [&lt;c11e3970&gt;] ? device_del+0x129/0x163
[   95.824442]  [&lt;c11e2dc0&gt;] ? put_device+0xf/0x11
[   95.824442]  [&lt;c11e39bc&gt;] ? device_unregister+0x12/0x15
[   95.824442]  [&lt;c125915f&gt;] ? usb_disable_device+0x90/0xf0
[   95.824442]  [&lt;c125544f&gt;] ? usb_disconnect+0x6d/0xf8
[   95.824442]  [&lt;c1255f91&gt;] ? hub_thread+0x3fc/0xc57
[   95.824442]  [&lt;c1048526&gt;] ? autoremove_wake_function+0x0/0x2f
[   95.824442]  [&lt;c102529d&gt;] ? complete+0x34/0x3e
[   95.824442]  [&lt;c1255b95&gt;] ? hub_thread+0x0/0xc57
[   95.824442]  [&lt;c10481fc&gt;] ? kthread+0x63/0x68
[   95.824442]  [&lt;c1048199&gt;] ? kthread+0x0/0x68
[   95.824442]  [&lt;c1002d76&gt;] ? kernel_thread_helper+0x6/0x10

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
