From: Tilman Schmidt Date: Sat, 11 Oct 2014 11:46:30 +0000 (+0200) Subject: isdn/gigaset: fix usb_gigaset write_cmd result race X-Git-Tag: omap-for-v3.19/prcm-cleanup~58^2~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86f8ef2c4802ac9dbe0c8c1c12670bd915a13013;p=pandora-kernel.git isdn/gigaset: fix usb_gigaset write_cmd result race In usb_gigaset function gigaset_write_cmd(), the length field of the command buffer structure could be cleared by the transmit tasklet before it was used for the function's return value. Fix by copying to a local variable before scheduling the tasklet. Signed-off-by: Tilman Schmidt Signed-off-by: David S. Miller --- Reading git-diff-tree failed