Chunwei Chen 45838e3a41 Fix uioskip crash when skip to end
When doing uioskip to skip an iovec to the very end, the current loop
condition will falsely check pass the end of iovec. We fix this checking
uio_iovcnt first.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3806
Closes #3850
2015-09-29 10:06:58 -07:00
..
2013-09-04 15:49:00 -07:00
2010-08-31 13:41:58 -07:00
2014-07-29 10:55:29 -07:00
2015-09-29 10:06:58 -07:00
2015-01-16 14:41:26 -08:00