summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/Makefile
blob: d843a9e688528c9436b8806888c9efb6d8d126a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ccflags-$(CONFIG_USBIP_DEBUG) := -DDEBUG

obj-$(CONFIG_USBIP_CORE) += usbip-core.o
usbip-core-y := usbip_common.o usbip_event.o

obj-$(CONFIG_USBIP_VHCI_HCD) += vhci-hcd.o
vhci-hcd-y := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o

obj-$(CONFIG_USBIP_HOST) += usbip-host.o
usbip-host-y := stub_dev.o stub_main.o stub_rx.o stub_tx.o

obj-$(CONFIG_USBIP_VUDC) += usbip-vudc.o
usbip-vudc-y := vudc_dev.o vudc_sysfs.o vudc_tx.o vudc_rx.o vudc_transfer.o vudc_main.o
mmary='commit info' class='commit-info'> authorChristoph Hellwig <hch@lst.de>2017-01-24 14:50:19 +0100 committerJens Axboe <axboe@fb.com>2017-01-24 07:55:53 -0700 commit690e5325b8c7d5db05fc569c0f7b888bb4248272 (patch) treeb9c39916a4397b1eb628e07e4fc6aff91219e393 /sound/firewire/oxfw/oxfw.c parenta4685d2f58e2230d4e27fb2ee581d7ea35e5d046 (diff)
block: fix use after free in __blkdev_direct_IO
We can't dereference the dio structure after submitting the last bio for this request, as I/O completion might have happened before the code is run. Introduce a local is_sync variable instead. Fixes: 542ff7bf ("block: new direct I/O implementation") Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Matias Bjørling <m@bjorling.me> Tested-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'sound/firewire/oxfw/oxfw.c')