1
0
Fork 0
alistair23-linux/drivers/usb/mon
Steven Robertson 33d973ad88 USB: resizing usbmon binary interface buffer causes protection faults
Enlarging the buffer size via the MON_IOCT_RING_SIZE ioctl causes
general protection faults. It appears the culprit is an incorrect
argument to mon_free_buff: instead of passing the size of the current
buffer being freed, the size of the new buffer is passed.

Use the correct size argument to mon_free_buff when changing the size of
the buffer.

Signed-off-by: Steven Robertson <steven@strobe.cc>
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 14:35:41 -07:00
..
Kconfig USB: usbmon: drop Kconfig defaults 2009-09-23 06:46:19 -07:00
Makefile USB: usbmon: end ugly tricks with DMA peeking 2009-09-23 06:46:19 -07:00
mon_bin.c USB: resizing usbmon binary interface buffer causes protection faults 2010-08-10 14:35:41 -07:00
mon_main.c USB: make hcd.h public (drivers dependency) 2010-05-20 13:21:30 -07:00
mon_stat.c drivers: Push down BKL into various drivers 2010-05-17 05:27:41 +02:00
mon_text.c USB: Change the scatterlist type in struct urb 2010-05-20 13:21:41 -07:00
usb_mon.h USB: usbmon: end ugly tricks with DMA peeking 2009-09-23 06:46:19 -07:00