]> git.openfabrics.org - ~emulex/infiniband.git/commit
usb: wusbcore: move isoc_frame_index from wa_xfer to wa_seg
authorThomas Pugliese <thomas.pugliese@gmail.com>
Mon, 9 Dec 2013 20:15:14 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 21:29:21 +0000 (13:29 -0800)
commitea1af42d3d4da73c9d75984f24e569515261b3fd
tree630fe9460c6de8ea29ca83248777dfe145df7408
parent7b3e3740f2d0faca9351db88974be534009a3d8d
usb: wusbcore: move isoc_frame_index from wa_xfer to wa_seg

If multiple segments belonging to an isoc transfer are submitted
concurrently, the isoc_frame_index field in struct wa_xfer can get
corrupted.  This patch moves the isoc_frame_index field from struct
wa_xfer to struct wa_seg to prevent this from happening.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/wa-xfer.c