aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched_cpupri.h
diff options
context:
space:
mode:
authorStephen Ware <stephen.ware@eqware.net>2008-10-08 10:53:56 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:41:04 -0700
commit84dcd594952bf9b95b3901516a61e57abdf54d62 (patch)
treec287500ddd5d4559a8313485e66cd224333281c1 /kernel/sched_cpupri.h
parent71b7497c078a97e2afb774ad7c1f8ff5bdda8a60 (diff)
USB: fix up problems in the vtusb driver
Add range check on buffer sizes passed in from user space (max is 8*PAGE_SIZE) which will work for the most common spectrometers even at pages as small as 1K. Add kref to vst device structure to preserve reference to the usb object until we truly are done with it. From: Stephen Ware <stephen.ware@eqware.net> From: Dennis O'Brien <dennis.obrien@eqware.net> Signed-off-by: Dennis O'Brien <dennis.obrien@eqware.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/sched_cpupri.h')
0 files changed, 0 insertions, 0 deletions