[PATCH 3.14 06/17] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to continue from the iovec

[PATCH 3.14 06/17] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-06-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to