From: Al Viro <viro@ZenIV•linux.org.uk>
To: Ding Tianhong <dingtianhong@huawei•com>
Cc: David Miller <davem@davemloft•net>,
pabeni@redhat•com, edumazet@google•com,
hannes@stressinduktion•org,
"netdev@vger•kernel.org" <netdev@vger•kernel.org>,
"linux-kernel@vger•kernel.org" <linux-kernel@vger•kernel.org>,
LinuxArm <linuxarm@huawei•com>,
"weiyongjun (A)" <weiyongjun1@huawei•com>
Subject: Re: [PATCH v3] iov_iter: don't revert iov buffer if csum error
Date: Wed, 3 May 2017 08:07:26 +0100 [thread overview]
Message-ID: <20170503070726.GG29622@ZenIV.linux.org.uk> (raw)
In-Reply-To: <12d4d81f-40c7-c83d-11d6-290acc084695@huawei.com>
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...
next prev parent reply other threads:[~2017-05-03 7:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-03 7:02 [PATCH v3] iov_iter: don't revert iov buffer if csum error Ding Tianhong
2017-05-03 7:07 ` Al Viro [this message]
2017-05-03 7:15 ` Miss it//Re: " Ding Tianhong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170503070726.GG29622@ZenIV.linux.org.uk \
--to=viro@zeniv$(echo .)linux.org.uk \
--cc=davem@davemloft$(echo .)net \
--cc=dingtianhong@huawei$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=hannes@stressinduktion$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxarm@huawei$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=weiyongjun1@huawei$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox