Jason Wang
2020-Dec-08 02:32 UTC
[PATCH net-next] tun: fix ubuf refcount incorrectly on error path
On 2020/12/7 ??9:38, wangyunjian wrote:> I think the newly added code is easy to miss this problem, so I want to > copy ubuf_info until we're sure there's no errors. > > Thanks, > YunjianBut isn't this actually a disabling of zerocopy? Thanks
Jason Wang
2020-Dec-09 09:30 UTC
[PATCH net-next] tun: fix ubuf refcount incorrectly on error path
On 2020/12/8 ??10:32, Jason Wang wrote:> > On 2020/12/7 ??9:38, wangyunjian wrote: >> I think the newly added code is easy to miss this problem, so I want to >> copy ubuf_info until we're sure there's no errors. >> >> Thanks, >> Yunjian > > > But isn't this actually a disabling of zerocopy? > > Thanks > >Sorry, I misread the patch. Please send a formal version, and let's move the discussion there. Thanks