summaryrefslogtreecommitdiff
path: root/drivers/pps/sysfs.c
diff options
context:
space:
mode:
authortom.leiming@gmail.com <tom.leiming@gmail.com>2012-03-22 03:22:38 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-03-22 23:32:34 (GMT)
commit5d5440a835710d09f0ef18da5000541ec98b537a (patch)
tree3e6e9ed88b266beadbf9698c15852865acb2605a /drivers/pps/sysfs.c
parent0956a8c20b23d429e79ff86d4325583fc06f9eb4 (diff)
downloadlinux-fsl-qoriq-5d5440a835710d09f0ef18da5000541ec98b537a.tar.xz
usbnet: don't clear urb->dev in tx_complete
URB unlinking is always racing with its completion and tx_complete may be called before or during running usb_unlink_urb, so tx_complete must not clear urb->dev since it will be used in unlink path, otherwise invalid memory accesses or usb device leak may be caused inside usb_unlink_urb. Cc: stable@kernel.org Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Oliver Neukum <oliver@neukum.org> Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pps/sysfs.c')
0 files changed, 0 insertions, 0 deletions