[PATCH 3.2 125/164] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 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.2 125/164] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 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 continue