From: Shuah Khan Date: Mon, 24 Mar 2014 19:45:13 +0000 (-0600) Subject: staging/usbip: userspace - fix usbipd SIGSEGV from refresh_exported_devices() X-Git-Tag: omap-for-v3.16/pm-signed~80^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21c5e8408d105386c54603aed2cae9195143d87d;p=pandora-kernel.git staging/usbip: userspace - fix usbipd SIGSEGV from refresh_exported_devices() refresh_exported_devices() doesn't check udev_device_new_from_syspath() return value and passed in null dev to udev_device_get_driver() resulting in a segmentation fault. Change it to check for null return value from both udev_device_new_from_syspath() and udev_device_get_driver(). Signed-off-by: Shuah Khan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed