Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634778

Re: [PATCH v3] iov_iter: don't revert iov buffer if csum error

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v3] iov_iter: don't revert iov buffer if csum error
Date 2017-05-03 09:10 +0200
Message-ID <tCWAa-1Hv-11@gated-at.bofh.it> (permalink)
References <tCWAa-1Hv-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 03, 2017 at 03:02:32PM +0800, Ding Tianhong wrote:
> The patch 327868212381 (make skb_copy_datagram_msg() et.al. preserve
> ->msg_iter on error) will revert the iov buffer if copy to iter
> failed, but it didn't copy any datagram if the skb_checksum_complete
> error, so no need to revert any data at this place.

See a6a5993243550b09f620941dea741b7421fdf79c in mainline...

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v3] iov_iter: don't revert iov buffer if csum error Al Viro <viro@ZenIV.linux.org.uk> - 2017-05-03 09:10 +0200

csiph-web