<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging, branch linux-2.6.37.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>staging: tidspbridge: protect dmm_map properly</title>
<updated>2011-03-23T19:50:16+00:00</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@nokia.com</email>
</author>
<published>2011-03-12T00:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8274b24b773d6433c461d38944cacc8eb8e574af'/>
<id>8274b24b773d6433c461d38944cacc8eb8e574af</id>
<content type='text'>
commit ab42abf33a3efdf754710a0a513c00c40854cd61 upstream.

We need to protect not only the dmm_map list, but the individual
map_obj's, otherwise, we might be building the scatter-gather list with
garbage. So, use the existing proc_lock for that.

I observed race conditions which caused kernel panics while running
stress tests, also, Tuomas Kulve found it happening quite often in
Gumstix Over. This patch fixes those.

Cc: Tuomas Kulve &lt;tuomas@kulve.fi&gt;
Signed-off-by: Felipe Contreras &lt;felipe.contreras@nokia.com&gt;
Signed-off-by: Omar Ramirez Luna &lt;omar.ramirez@ti.com&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 ab42abf33a3efdf754710a0a513c00c40854cd61 upstream.

We need to protect not only the dmm_map list, but the individual
map_obj's, otherwise, we might be building the scatter-gather list with
garbage. So, use the existing proc_lock for that.

I observed race conditions which caused kernel panics while running
stress tests, also, Tuomas Kulve found it happening quite often in
Gumstix Over. This patch fixes those.

Cc: Tuomas Kulve &lt;tuomas@kulve.fi&gt;
Signed-off-by: Felipe Contreras &lt;felipe.contreras@nokia.com&gt;
Signed-off-by: Omar Ramirez Luna &lt;omar.ramirez@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: winbond: needs &lt;linux/delay.h&gt; for msleep and friends</title>
<updated>2011-03-23T19:50:16+00:00</updated>
<author>
<name>Jeff Mahoney</name>
<email>jeffm@suse.com</email>
</author>
<published>2011-02-24T19:49:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=15750d67097c3c7957fbea4a5413994d5bda1de9'/>
<id>15750d67097c3c7957fbea4a5413994d5bda1de9</id>
<content type='text'>
commit cecf826df8648c843ea8db63b1f82c154a74db36 upstream.

linux/delay.h is pulled in somehow on x86 but not on ia64 or powerpc.

This fixes a build failure on those arches since they use [mu]delay.

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&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 cecf826df8648c843ea8db63b1f82c154a74db36 upstream.

linux/delay.h is pulled in somehow on x86 but not on ia64 or powerpc.

This fixes a build failure on those arches since they use [mu]delay.

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: Add MODULE_LICENSE and similar to NI modules</title>
<updated>2011-03-07T23:05:22+00:00</updated>
<author>
<name>Ian Abbott</name>
<email>abbotti@mev.co.uk</email>
</author>
<published>2011-02-07T13:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=adbbc36af2a36f1998404e56b27f3933d0cc8afd'/>
<id>adbbc36af2a36f1998404e56b27f3933d0cc8afd</id>
<content type='text'>
commit 3c323c01b6bd5fd01be21a8f0cdc11e55997aa06 upstream.

As mentioned by W. Trevor King on the devel@linuxdriverproject.org list
on "Thu, 27 Jan 2011 18:52:15 -0500", "Message-ID:
&lt;20110127235214.GA5107@thialfi.dhcp.drexel.edu&gt;", the ni_pcimio module
is missing module metadata, including a license.

This patch adds module metadata to all the NI comedi driver modules.  It
also removes a duplicate MODULE_LICENSE("GPL") line from the "mite"
module.

Signed-off-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: W. Trevor King &lt;wking@drexel.edu&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 3c323c01b6bd5fd01be21a8f0cdc11e55997aa06 upstream.

As mentioned by W. Trevor King on the devel@linuxdriverproject.org list
on "Thu, 27 Jan 2011 18:52:15 -0500", "Message-ID:
&lt;20110127235214.GA5107@thialfi.dhcp.drexel.edu&gt;", the ni_pcimio module
is missing module metadata, including a license.

This patch adds module metadata to all the NI comedi driver modules.  It
also removes a duplicate MODULE_LICENSE("GPL") line from the "mite"
module.

Signed-off-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: W. Trevor King &lt;wking@drexel.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: vhci: use urb-&gt;dev-&gt;portnum to find port</title>
<updated>2011-03-07T23:05:10+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:02:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=cbad04642867968e91a828af10c5d07924d1ee5e'/>
<id>cbad04642867968e91a828af10c5d07924d1ee5e</id>
<content type='text'>
commit 01446ef5af4e8802369bf4d257806e24345a9371 upstream.

The access to pending_port was racy when two devices
were being attached at the same time.

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&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 01446ef5af4e8802369bf4d257806e24345a9371 upstream.

The access to pending_port was racy when two devices
were being attached at the same time.

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: vhci: refuse to enqueue for dead connections</title>
<updated>2011-03-07T23:05:10+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6746cdfcac6c559471738d5c94b2379960f83e09'/>
<id>6746cdfcac6c559471738d5c94b2379960f83e09</id>
<content type='text'>
commit 6d212153a838354078cc7d96f9bb23b7d1fd3d1b upstream.

There can be requests to enqueue URBs while we are shutting
down a connection.

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&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 6d212153a838354078cc7d96f9bb23b7d1fd3d1b upstream.

There can be requests to enqueue URBs while we are shutting
down a connection.

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: vhci: give back URBs from in-flight unlink requests</title>
<updated>2011-03-07T23:05:09+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a5cd44e3e3e926edc55aa9431e48a37611a6e528'/>
<id>a5cd44e3e3e926edc55aa9431e48a37611a6e528</id>
<content type='text'>
commit b92a5e23737172c52656a090977408a80d7f06d1 upstream.

If we never received a RET_UNLINK because the TCP
connection broke the pending URBs still need to be
unlinked and given back.

Previously processes would be stuck trying to kill
the URB even after the device was detached.

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&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 b92a5e23737172c52656a090977408a80d7f06d1 upstream.

If we never received a RET_UNLINK because the TCP
connection broke the pending URBs still need to be
unlinked and given back.

Previously processes would be stuck trying to kill
the URB even after the device was detached.

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: vhci: update reference count for usb_device</title>
<updated>2011-03-07T23:05:09+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=927c3fa44e24300eb827ab9f9dacce6dff9c9bb7'/>
<id>927c3fa44e24300eb827ab9f9dacce6dff9c9bb7</id>
<content type='text'>
commit 7606ee8aa33287dd3e6eb44c78541b87a413a325 upstream.

This fixes an oops observed when reading status during
removal of a device:

[ 1706.648285] general protection fault: 0000 [#1] SMP
[ 1706.648294] last sysfs file: /sys/devices/platform/vhci_hcd/status
[ 1706.648297] CPU 1
[ 1706.648300] Modules linked in: binfmt_misc microcode fuse loop vhci_hcd(N) usbip(N) usbcore usbip_common_mod(N) rtc_core rtc_lib joydev dm_mirror dm_region_hash dm_log linear dm_snapshot xennet dm_mod ext3 mbcache jbd processor thermal_sys hwmon xenblk cdrom
[ 1706.648324] Supported: Yes
[ 1706.648327] Pid: 10422, comm: usbip Tainted: G          N  2.6.32.12-0.7-xen #1
[ 1706.648330] RIP: e030:[&lt;ffffffff801b10d5&gt;]  [&lt;ffffffff801b10d5&gt;] strnlen+0x5/0x40
[ 1706.648340] RSP: e02b:ffff8800a994dd30  EFLAGS: 00010286
[ 1706.648343] RAX: ffffffff80481ec1 RBX: 0000000000000000 RCX: 0000000000000002
[ 1706.648347] RDX: 00200d1d4f1c001c RSI: ffffffffffffffff RDI: 00200d1d4f1c001c
[ 1706.648350] RBP: ffff880129a1c0aa R08: ffffffffa01901c4 R09: 0000000000000006
[ 1706.648353] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800a9a1c0ab
[ 1706.648357] R13: 00200d1d4f1c001c R14: 00000000ffffffff R15: ffff880129a1c0aa
[ 1706.648363] FS:  00007f2f2e9ca700(0000) GS:ffff880001018000(0000) knlGS:0000000000000000
[ 1706.648367] CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1706.648370] CR2: 000000000071b048 CR3: 00000000b4b68000 CR4: 0000000000002660
[ 1706.648374] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1706.648378] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 1706.648381] Process usbip (pid: 10422, threadinfo ffff8800a994c000, task ffff88007b170200)
[ 1706.648385] Stack:
[ 1706.648387]  ffffffff801b28c9 0000000000000002 ffffffffa01901c4 ffff8800a9a1c0ab
[ 1706.648391] &lt;0&gt; ffffffffa01901c6 ffff8800a994de08 ffffffff801b339b 0000000000000004
[ 1706.648397] &lt;0&gt; 0000000affffffff ffffffffffffffff 00000000000067c0 0000000000000000
[ 1706.648404] Call Trace:
[ 1706.648413]  [&lt;ffffffff801b28c9&gt;] string+0x39/0xe0
[ 1706.648419]  [&lt;ffffffff801b339b&gt;] vsnprintf+0x1eb/0x620
[ 1706.648423]  [&lt;ffffffff801b3813&gt;] sprintf+0x43/0x50
[ 1706.648429]  [&lt;ffffffffa018d719&gt;] show_status+0x1b9/0x220 [vhci_hcd]
[ 1706.648438]  [&lt;ffffffff8024a2b7&gt;] dev_attr_show+0x27/0x60
[ 1706.648445]  [&lt;ffffffff80144821&gt;] sysfs_read_file+0x101/0x1d0
[ 1706.648451]  [&lt;ffffffff800da4a7&gt;] vfs_read+0xc7/0x130
[ 1706.648457]  [&lt;ffffffff800da613&gt;] sys_read+0x53/0xa0
[ 1706.648462]  [&lt;ffffffff80007458&gt;] system_call_fastpath+0x16/0x1b
[ 1706.648468]  [&lt;00007f2f2de40f30&gt;] 0x7f2f2de40f30
[ 1706.648470] Code: 66 0f 1f 44 00 00 48 83 c2 01 80 3a 00 75 f7 48 89 d0 48 29 f8 f3 c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 48 85 f6 74 29 &lt;80&gt; 3f 00 74 24 48 8d 56 ff 48 89 f8 eb 0e 0f 1f 44 00 00 48 83
[ 1706.648507] RIP  [&lt;ffffffff801b10d5&gt;] strnlen+0x5/0x40
[ 1706.648511]  RSP &lt;ffff8800a994dd30&gt;
[ 1706.649575] ---[ end trace b4eb72bf2e149593 ]---

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&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 7606ee8aa33287dd3e6eb44c78541b87a413a325 upstream.

This fixes an oops observed when reading status during
removal of a device:

[ 1706.648285] general protection fault: 0000 [#1] SMP
[ 1706.648294] last sysfs file: /sys/devices/platform/vhci_hcd/status
[ 1706.648297] CPU 1
[ 1706.648300] Modules linked in: binfmt_misc microcode fuse loop vhci_hcd(N) usbip(N) usbcore usbip_common_mod(N) rtc_core rtc_lib joydev dm_mirror dm_region_hash dm_log linear dm_snapshot xennet dm_mod ext3 mbcache jbd processor thermal_sys hwmon xenblk cdrom
[ 1706.648324] Supported: Yes
[ 1706.648327] Pid: 10422, comm: usbip Tainted: G          N  2.6.32.12-0.7-xen #1
[ 1706.648330] RIP: e030:[&lt;ffffffff801b10d5&gt;]  [&lt;ffffffff801b10d5&gt;] strnlen+0x5/0x40
[ 1706.648340] RSP: e02b:ffff8800a994dd30  EFLAGS: 00010286
[ 1706.648343] RAX: ffffffff80481ec1 RBX: 0000000000000000 RCX: 0000000000000002
[ 1706.648347] RDX: 00200d1d4f1c001c RSI: ffffffffffffffff RDI: 00200d1d4f1c001c
[ 1706.648350] RBP: ffff880129a1c0aa R08: ffffffffa01901c4 R09: 0000000000000006
[ 1706.648353] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800a9a1c0ab
[ 1706.648357] R13: 00200d1d4f1c001c R14: 00000000ffffffff R15: ffff880129a1c0aa
[ 1706.648363] FS:  00007f2f2e9ca700(0000) GS:ffff880001018000(0000) knlGS:0000000000000000
[ 1706.648367] CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1706.648370] CR2: 000000000071b048 CR3: 00000000b4b68000 CR4: 0000000000002660
[ 1706.648374] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1706.648378] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 1706.648381] Process usbip (pid: 10422, threadinfo ffff8800a994c000, task ffff88007b170200)
[ 1706.648385] Stack:
[ 1706.648387]  ffffffff801b28c9 0000000000000002 ffffffffa01901c4 ffff8800a9a1c0ab
[ 1706.648391] &lt;0&gt; ffffffffa01901c6 ffff8800a994de08 ffffffff801b339b 0000000000000004
[ 1706.648397] &lt;0&gt; 0000000affffffff ffffffffffffffff 00000000000067c0 0000000000000000
[ 1706.648404] Call Trace:
[ 1706.648413]  [&lt;ffffffff801b28c9&gt;] string+0x39/0xe0
[ 1706.648419]  [&lt;ffffffff801b339b&gt;] vsnprintf+0x1eb/0x620
[ 1706.648423]  [&lt;ffffffff801b3813&gt;] sprintf+0x43/0x50
[ 1706.648429]  [&lt;ffffffffa018d719&gt;] show_status+0x1b9/0x220 [vhci_hcd]
[ 1706.648438]  [&lt;ffffffff8024a2b7&gt;] dev_attr_show+0x27/0x60
[ 1706.648445]  [&lt;ffffffff80144821&gt;] sysfs_read_file+0x101/0x1d0
[ 1706.648451]  [&lt;ffffffff800da4a7&gt;] vfs_read+0xc7/0x130
[ 1706.648457]  [&lt;ffffffff800da613&gt;] sys_read+0x53/0xa0
[ 1706.648462]  [&lt;ffffffff80007458&gt;] system_call_fastpath+0x16/0x1b
[ 1706.648468]  [&lt;00007f2f2de40f30&gt;] 0x7f2f2de40f30
[ 1706.648470] Code: 66 0f 1f 44 00 00 48 83 c2 01 80 3a 00 75 f7 48 89 d0 48 29 f8 f3 c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 48 85 f6 74 29 &lt;80&gt; 3f 00 74 24 48 8d 56 ff 48 89 f8 eb 0e 0f 1f 44 00 00 48 83
[ 1706.648507] RIP  [&lt;ffffffff801b10d5&gt;] strnlen+0x5/0x40
[ 1706.648511]  RSP &lt;ffff8800a994dd30&gt;
[ 1706.649575] ---[ end trace b4eb72bf2e149593 ]---

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: brcm80211: bugfix for softmac crash on multi cpu configurations</title>
<updated>2011-03-07T23:05:09+00:00</updated>
<author>
<name>Roland Vossen</name>
<email>rvossen@broadcom.com</email>
</author>
<published>2011-02-24T20:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=36dc1b24c025080ae6c4894d6e9ea240c23794af'/>
<id>36dc1b24c025080ae6c4894d6e9ea240c23794af</id>
<content type='text'>
commit 6a3be6e6e7feb4cb35275475d6a863b748d59cc3 upstream

Solved a locking issue that resulted in driver crashes with the 43224 and 43225
chips. The problem has been reported on several fora. Root cause was two fold:
hardware was being manipulated by two unsynchronized threads, and a scan
operation could interfere with an ongoing dynamic calibration process. Fix was
to invoke a lock on wl_ops_config() operation and to set internal flags when a
scan operation is started and stopped.

Please add this to the staging-linus branch.

Reviewed-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: Roland Vossen &lt;rvossen@broadcom.com&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 6a3be6e6e7feb4cb35275475d6a863b748d59cc3 upstream

Solved a locking issue that resulted in driver crashes with the 43224 and 43225
chips. The problem has been reported on several fora. Root cause was two fold:
hardware was being manipulated by two unsynchronized threads, and a scan
operation could interfere with an ongoing dynamic calibration process. Fix was
to invoke a lock on wl_ops_config() operation and to set internal flags when a
scan operation is started and stopped.

Please add this to the staging-linus branch.

Reviewed-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: Roland Vossen &lt;rvossen@broadcom.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: brcm80211: remove assert to avoid panic since 2.6.37 kernel</title>
<updated>2011-03-07T23:05:09+00:00</updated>
<author>
<name>Arend van Spriel</name>
<email>arend@broadcom.com</email>
</author>
<published>2011-02-24T20:42:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a1621f168e4209c68023d4060ec77b8c9ec18547'/>
<id>a1621f168e4209c68023d4060ec77b8c9ec18547</id>
<content type='text'>
commit d062d44a8386c82c06e483f0c0d1124ba3cab2c8 upstream

The driver assumed it would receive skb packets from MAC80211 which
are not cloned. To guard this assumption an assert was placed in
the transmit routine. As of kernel 2.6.37 it turns out MAC80211 does
pass skb packets that are cloned. The assert is also not needed as
it does not lead to a failure state in our driver when the packet is
cloned. Therefore the assert can safely be removed.

&gt; commit f8a0a781488ec7288d1049e5d2022850aa98f7b6
&gt; Author: Felix Fietkau &lt;nbd@openwrt.org&gt;
&gt; Date:   Sat Dec 18 19:30:50 2010 +0100
&gt;
&gt;     mac80211: fix potentially redundant skb data copying
&gt;
&gt;     When an skb is shared, it needs to be duplicated, along with its data
&gt;     If the skb does not have enough headroom, using skb_copy might cause t
&gt;     buffer to be copied twice (once by skb_copy and once by pskb_expand_he
&gt;     Fix this by using skb_clone initially and letting ieee80211_skb_resize
&gt;     out the rest.
&gt;
&gt;     Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
&gt;     Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
&gt;

Acked-by: Brett Rudley &lt;brudley@broadcom.com&gt;
Signed-off-by: Arend van Spriel &lt;arend@broadcom.com&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 d062d44a8386c82c06e483f0c0d1124ba3cab2c8 upstream

The driver assumed it would receive skb packets from MAC80211 which
are not cloned. To guard this assumption an assert was placed in
the transmit routine. As of kernel 2.6.37 it turns out MAC80211 does
pass skb packets that are cloned. The assert is also not needed as
it does not lead to a failure state in our driver when the packet is
cloned. Therefore the assert can safely be removed.

&gt; commit f8a0a781488ec7288d1049e5d2022850aa98f7b6
&gt; Author: Felix Fietkau &lt;nbd@openwrt.org&gt;
&gt; Date:   Sat Dec 18 19:30:50 2010 +0100
&gt;
&gt;     mac80211: fix potentially redundant skb data copying
&gt;
&gt;     When an skb is shared, it needs to be duplicated, along with its data
&gt;     If the skb does not have enough headroom, using skb_copy might cause t
&gt;     buffer to be copied twice (once by skb_copy and once by pskb_expand_he
&gt;     Fix this by using skb_clone initially and letting ieee80211_skb_resize
&gt;     out the rest.
&gt;
&gt;     Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
&gt;     Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
&gt;

Acked-by: Brett Rudley &lt;brudley@broadcom.com&gt;
Signed-off-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iio: Fixpoint formatted output bugfix</title>
<updated>2011-02-17T23:14:34+00:00</updated>
<author>
<name>Roland Stigge</name>
<email>rst@work-microwave.de</email>
</author>
<published>2011-01-13T17:37:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f045961680a61667bb15a33408ad2215d1a396ee'/>
<id>f045961680a61667bb15a33408ad2215d1a396ee</id>
<content type='text'>
commit e71a7fd259943a2c2e11484880c80248ad139fe5 upstream.

Fix some ADC drivers' _scale interface to correct fixpoint formatted output

Signed-off-by: Roland Stigge &lt;stigge@antcom.de&gt;
Acked-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Acked-by: Michael Hennerich &lt;Michael.Hennerich@analog.com&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 e71a7fd259943a2c2e11484880c80248ad139fe5 upstream.

Fix some ADC drivers' _scale interface to correct fixpoint formatted output

Signed-off-by: Roland Stigge &lt;stigge@antcom.de&gt;
Acked-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Acked-by: Michael Hennerich &lt;Michael.Hennerich@analog.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
</feed>
