summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-08-17 15:15:37 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-26 16:46:24 -0700
commite5af095003749e3f9bc1ff3db77ef7c91dc79459 (patch)
treef4352185b98f8669145e748fb46d13ff75e0327e /kernel/sched.c
parent5ce775be7b38ee371c389b28efebca141fabc133 (diff)
downloadkernel-crypto-e5af095003749e3f9bc1ff3db77ef7c91dc79459.tar.gz
kernel-crypto-e5af095003749e3f9bc1ff3db77ef7c91dc79459.tar.xz
kernel-crypto-e5af095003749e3f9bc1ff3db77ef7c91dc79459.zip
USB: io_ti: check firmware version before updating
commit 0827a9ff2bbcbb03c33f1a6eb283fe051059482c upstream. If we can't read the firmware for a device from the disk, and yet the device already has a valid firmware image in it, we don't want to replace the firmware with something invalid. So check the version number to be less than the current one to verify this is the correct thing to do. Reported-by: Chris Beauchamp <chris@chillibean.tv> Tested-by: Chris Beauchamp <chris@chillibean.tv> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions