<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/usbip, branch v2.6.38</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: usbip: vhci: use urb-&gt;dev-&gt;portnum to find port</title>
<updated>2011-01-21T00:01:50+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.git/commit/?id=01446ef5af4e8802369bf4d257806e24345a9371'/>
<id>01446ef5af4e8802369bf4d257806e24345a9371</id>
<content type='text'>
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>
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: handle EAGAIN from SO_RCVTIMEO</title>
<updated>2011-01-21T00:01:49+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:02:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bd65f6233f6bc3233e7910752689fe3a45dc2e0c'/>
<id>bd65f6233f6bc3233e7910752689fe3a45dc2e0c</id>
<content type='text'>
If there is a receive timeout without any active
requests, we can tell the connection was idle and
ignore the timeout.

If there are active requests for which we expect
to receive a reply we close the connection.

This makes it possible to set an upper bound on
the time a usbip device may be unresponsive.

This is a workaround for the lack of heart-beat
messages in the USBIP protocol.

Extending the protocol would break compatibility
with all previous stub versions, so this seems like
the lesser evil.

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>
If there is a receive timeout without any active
requests, we can tell the connection was idle and
ignore the timeout.

If there are active requests for which we expect
to receive a reply we close the connection.

This makes it possible to set an upper bound on
the time a usbip device may be unresponsive.

This is a workaround for the lack of heart-beat
messages in the USBIP protocol.

Extending the protocol would break compatibility
with all previous stub versions, so this seems like
the lesser evil.

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: friendly log messages for connection errors</title>
<updated>2011-01-21T00:01:49+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:02:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7e249c8b0737429bbf534515f81aded93504f449'/>
<id>7e249c8b0737429bbf534515f81aded93504f449</id>
<content type='text'>
Also changes the event on connection close to be
VDEV_EVENT_DOWN - no functional change.

Signed-off-by: Max Vozeler &lt;max@vozeler.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>
Also changes the event on connection close to be
VDEV_EVENT_DOWN - no functional change.

Signed-off-by: Max Vozeler &lt;max@vozeler.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-01-21T00:01:49+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.git/commit/?id=6d212153a838354078cc7d96f9bb23b7d1fd3d1b'/>
<id>6d212153a838354078cc7d96f9bb23b7d1fd3d1b</id>
<content type='text'>
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>
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-01-21T00:01:49+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.git/commit/?id=b92a5e23737172c52656a090977408a80d7f06d1'/>
<id>b92a5e23737172c52656a090977408a80d7f06d1</id>
<content type='text'>
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>
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-01-21T00:01:48+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.git/commit/?id=7606ee8aa33287dd3e6eb44c78541b87a413a325'/>
<id>7606ee8aa33287dd3e6eb44c78541b87a413a325</id>
<content type='text'>
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>
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: usbip: stub: update refcounts for devices and interfaces</title>
<updated>2011-01-21T00:01:48+00:00</updated>
<author>
<name>Max Vozeler</name>
<email>max@vozeler.com</email>
</author>
<published>2011-01-12T13:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2d8f4595d1f275f424a8920bb2563fc547661213'/>
<id>2d8f4595d1f275f424a8920bb2563fc547661213</id>
<content type='text'>
The stub driver expects to access the usb interface
and usb device structures even if the device has been
disconnected in the meantime.

This change gets a reference to them in the stub probe
function using usb_get_intf()/usb_get_dev() and drops them
in the disconnect function.

This fixes an oops observed with a Logic Controls Line
display (0fa8:a030) which disconnects itself when it is
reset:

[ 1348.562274] BUG: unable to handle kernel paging request at 5f7433e5
[ 1348.562327] IP: [&lt;c0393b02&gt;] usb_lock_device_for_reset+0x22/0xd0
[ 1348.562374] *pde = 00000000
[ 1348.562397] Oops: 0000 [#1]
[ 1348.562418] last sysfs file: /sys/devices/pci0000:00/0000:00:10.2/usb4/4-1/bConfigurationValue
[ 1348.562454] Modules linked in: usbip vhci_hcd usbip_common_mod fbcon tileblit font bitblit softcursor serio_raw uvesafb pcspkr via_rng snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_timer snd_seq_device snd usbhid hid via_rhine soundcore mii igel_flash aufs pata_via
[ 1348.562649]
[ 1348.562670] Pid: 2855, comm: usbip_eh Not tainted (2.6.32 #23.37-ud-r113) M300C
[ 1348.562704] EIP: 0060:[&lt;c0393b02&gt;] EFLAGS: 00010216 CPU: 0
[ 1348.562734] EIP is at usb_lock_device_for_reset+0x22/0xd0
[ 1348.562762] EAX: 5f7433cd EBX: 5f7433cd ECX: de293a5c EDX: dd326a00
[ 1348.562793] ESI: 5f7433cd EDI: 000400f6 EBP: cf43ff48 ESP: cf43ff38
[ 1348.562824]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 1348.562854] Process usbip_eh (pid: 2855, ti=cf43e000 task=d2c7f230 task.ti=cf43e000)
[ 1348.562884] Stack:
[ 1348.562900]  d6ec9960 de2939cc 5f7433cd 5f743431 cf43ff70 df8fd32f de2939cc d2c7f230
[ 1348.562940] &lt;0&gt; cf43ff70 00000282 00000282 de2939cc d2c7f230 d2c7f230 cf43ffa8 df84416d
[ 1348.562987] &lt;0&gt; cf43ff88 d2c7f230 de293a24 d2c7f230 00000000 d2c7f230 c014e760 cf43ff94
[ 1348.563042] Call Trace:
[ 1348.563073]  [&lt;df8fd32f&gt;] ? stub_device_reset+0x3f/0x110 [usbip]
[ 1348.563114]  [&lt;df84416d&gt;] ? event_handler_loop+0xcd/0xe8 [usbip_common_mod]
[ 1348.563156]  [&lt;c014e760&gt;] ? autoremove_wake_function+0x0/0x50
[ 1348.563193]  [&lt;df843d80&gt;] ? usbip_thread+0x0/0x60 [usbip_common_mod]
[ 1348.563230]  [&lt;df843dd1&gt;] ? usbip_thread+0x51/0x60 [usbip_common_mod]
[ 1348.563265]  [&lt;c014e374&gt;] ? kthread+0x74/0x80
[ 1348.563294]  [&lt;c014e300&gt;] ? kthread+0x0/0x80
[ 1348.563326]  [&lt;c0103c47&gt;] ? kernel_thread_helper+0x7/0x10
[ 1348.563351] Code: 00 e8 73 4d 00 00 5d c3 90 55 89 e5 83 ec 10 89 5d f4 89 75 f8 89 7d fc 0f 1f 44 00 00 8b 3d c0 2e 67 c0 81 c7 fa 00 00 00 89 c3 &lt;8b&gt; 40 18 89 d6 85 c0 75 15 b8 ed ff ff ff 8b 5d f4 8b 75 f8 8b
[ 1348.563528] EIP: [&lt;c0393b02&gt;] usb_lock_device_for_reset+0x22/0xd0 SS:ESP 0068:cf43ff38
[ 1348.563570] CR2: 000000005f7433e5
[ 1348.563593] ---[ end trace 9c3f1e3a2e5299d9 ]---

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&gt;
Tested-by: Steven Harms &lt;sharms@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>
The stub driver expects to access the usb interface
and usb device structures even if the device has been
disconnected in the meantime.

This change gets a reference to them in the stub probe
function using usb_get_intf()/usb_get_dev() and drops them
in the disconnect function.

This fixes an oops observed with a Logic Controls Line
display (0fa8:a030) which disconnects itself when it is
reset:

[ 1348.562274] BUG: unable to handle kernel paging request at 5f7433e5
[ 1348.562327] IP: [&lt;c0393b02&gt;] usb_lock_device_for_reset+0x22/0xd0
[ 1348.562374] *pde = 00000000
[ 1348.562397] Oops: 0000 [#1]
[ 1348.562418] last sysfs file: /sys/devices/pci0000:00/0000:00:10.2/usb4/4-1/bConfigurationValue
[ 1348.562454] Modules linked in: usbip vhci_hcd usbip_common_mod fbcon tileblit font bitblit softcursor serio_raw uvesafb pcspkr via_rng snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_timer snd_seq_device snd usbhid hid via_rhine soundcore mii igel_flash aufs pata_via
[ 1348.562649]
[ 1348.562670] Pid: 2855, comm: usbip_eh Not tainted (2.6.32 #23.37-ud-r113) M300C
[ 1348.562704] EIP: 0060:[&lt;c0393b02&gt;] EFLAGS: 00010216 CPU: 0
[ 1348.562734] EIP is at usb_lock_device_for_reset+0x22/0xd0
[ 1348.562762] EAX: 5f7433cd EBX: 5f7433cd ECX: de293a5c EDX: dd326a00
[ 1348.562793] ESI: 5f7433cd EDI: 000400f6 EBP: cf43ff48 ESP: cf43ff38
[ 1348.562824]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 1348.562854] Process usbip_eh (pid: 2855, ti=cf43e000 task=d2c7f230 task.ti=cf43e000)
[ 1348.562884] Stack:
[ 1348.562900]  d6ec9960 de2939cc 5f7433cd 5f743431 cf43ff70 df8fd32f de2939cc d2c7f230
[ 1348.562940] &lt;0&gt; cf43ff70 00000282 00000282 de2939cc d2c7f230 d2c7f230 cf43ffa8 df84416d
[ 1348.562987] &lt;0&gt; cf43ff88 d2c7f230 de293a24 d2c7f230 00000000 d2c7f230 c014e760 cf43ff94
[ 1348.563042] Call Trace:
[ 1348.563073]  [&lt;df8fd32f&gt;] ? stub_device_reset+0x3f/0x110 [usbip]
[ 1348.563114]  [&lt;df84416d&gt;] ? event_handler_loop+0xcd/0xe8 [usbip_common_mod]
[ 1348.563156]  [&lt;c014e760&gt;] ? autoremove_wake_function+0x0/0x50
[ 1348.563193]  [&lt;df843d80&gt;] ? usbip_thread+0x0/0x60 [usbip_common_mod]
[ 1348.563230]  [&lt;df843dd1&gt;] ? usbip_thread+0x51/0x60 [usbip_common_mod]
[ 1348.563265]  [&lt;c014e374&gt;] ? kthread+0x74/0x80
[ 1348.563294]  [&lt;c014e300&gt;] ? kthread+0x0/0x80
[ 1348.563326]  [&lt;c0103c47&gt;] ? kernel_thread_helper+0x7/0x10
[ 1348.563351] Code: 00 e8 73 4d 00 00 5d c3 90 55 89 e5 83 ec 10 89 5d f4 89 75 f8 89 7d fc 0f 1f 44 00 00 8b 3d c0 2e 67 c0 81 c7 fa 00 00 00 89 c3 &lt;8b&gt; 40 18 89 d6 85 c0 75 15 b8 ed ff ff ff 8b 5d f4 8b 75 f8 8b
[ 1348.563528] EIP: [&lt;c0393b02&gt;] usb_lock_device_for_reset+0x22/0xd0 SS:ESP 0068:cf43ff38
[ 1348.563570] CR2: 000000005f7433e5
[ 1348.563593] ---[ end trace 9c3f1e3a2e5299d9 ]---

Signed-off-by: Max Vozeler &lt;max@vozeler.com&gt;
Tested-by: Mark Wehby &lt;MWehby@luxotticaRetail.com&gt;
Tested-by: Steven Harms &lt;sharms@luxotticaRetail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: remove double giveback of URB</title>
<updated>2011-01-10T20:26:02+00:00</updated>
<author>
<name>Márton Németh</name>
<email>nm127@freemail.hu</email>
</author>
<published>2010-12-13T20:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7571f089d7522a95c103558faf313c7af8856ceb'/>
<id>7571f089d7522a95c103558faf313c7af8856ceb</id>
<content type='text'>
In the vhci_urb_dequeue() function the TCP connection is checked twice.
Each time when the TCP connection is closed the URB is unlinked and given
back. Remove the second attempt of unlinking and giving back of the URB completely.

This patch fixes the bug described at https://bugzilla.kernel.org/show_bug.cgi?id=24872 .

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Cc: stable &lt;stable@kernel.org&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>
In the vhci_urb_dequeue() function the TCP connection is checked twice.
Each time when the TCP connection is closed the URB is unlinked and given
back. Remove the second attempt of unlinking and giving back of the URB completely.

This patch fixes the bug described at https://bugzilla.kernel.org/show_bug.cgi?id=24872 .

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 'staging-next' to Linus's tree</title>
<updated>2010-10-28T16:44:56+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-10-28T16:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e4c5bf8e3dca827a1b3a6fac494eae8c74b7e1e7'/>
<id>e4c5bf8e3dca827a1b3a6fac494eae8c74b7e1e7</id>
<content type='text'>
This merges the staging-next tree to Linus's tree and resolves
some conflicts that were present due to changes in other trees that were
affected by files here.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This merges the staging-next tree to Linus's tree and resolves
some conflicts that were present due to changes in other trees that were
affected by files here.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>BKL: introduce CONFIG_BKL.</title>
<updated>2010-10-21T13:44:13+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2010-09-11T16:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6de5bd128d381ad88ac6d419a5e597048eb468cf'/>
<id>6de5bd128d381ad88ac6d419a5e597048eb468cf</id>
<content type='text'>
With all the patches we have queued in the BKL removal tree, only a
few dozen modules are left that actually rely on the BKL, and even
there are lots of low-hanging fruit. We need to decide what to do
about them, this patch illustrates one of the options:

Every user of the BKL is marked as 'depends on BKL' in Kconfig,
and the CONFIG_BKL becomes a user-visible option. If it gets
disabled, no BKL using module can be built any more and the BKL
code itself is compiled out.

The one exception is file locking, which is practically always
enabled and does a 'select BKL' instead. This effectively forces
CONFIG_BKL to be enabled until we have solved the fs/lockd
mess and can apply the patch that removes the BKL from fs/locks.c.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With all the patches we have queued in the BKL removal tree, only a
few dozen modules are left that actually rely on the BKL, and even
there are lots of low-hanging fruit. We need to decide what to do
about them, this patch illustrates one of the options:

Every user of the BKL is marked as 'depends on BKL' in Kconfig,
and the CONFIG_BKL becomes a user-visible option. If it gets
disabled, no BKL using module can be built any more and the BKL
code itself is compiled out.

The one exception is file locking, which is practically always
enabled and does a 'select BKL' instead. This effectively forces
CONFIG_BKL to be enabled until we have solved the fs/lockd
mess and can apply the patch that removes the BKL from fs/locks.c.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
