commit | 4d12997a9bb3d217ad4b925ec3074ec89364bf95 | [log] [tgz] |
---|---|---|
author | Petko Manolov <petkan@nucleusys.com> | Sun May 19 23:08:47 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 20 13:42:05 2013 -0700 |
tree | 73be8b2581db6f1de2fccf527e2bca4c4c123c9c | |
parent | 25dff94ff9df40d4d663bb6ea3193a7758cc50e5 [diff] |
drivers: net: usb: rtl8150: concurrent URB bugfix This patch fixes a potential race with concurrently running asynchronous write requests. The values for device's RX control register are now stored in dynamically allocated buffers so each URB submission has it's own copy. Doing it the old way is data clobbering prone. This patch is against latest 'net' tree. Signed-off-by: Petko Manolov <petkan@nucleusys.com> Signed-off-by: David S. Miller <davem@davemloft.net>