drivers: net: usb: rtl8150: concurrent URB bugfix
authorPetko Manolov <petkan@nucleusys.com>
Sun, 19 May 2013 23:08:47 +0000 (23:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 20:42:05 +0000 (13:42 -0700)
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>
drivers/net/usb/rtl8150.c

Simple merge