From: Steven Robertson Date: Wed, 21 Jul 2010 20:38:44 +0000 (-0400) Subject: USB: resizing usbmon binary interface buffer causes protection faults X-Git-Tag: v2.6.36-rc1~293^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33d973ad88ceb83ed1449592b7574b5b5bb33ac6;p=pandora-kernel.git 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 Acked-by: Pete Zaitcev Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed