Re: [PATCH V5 2/6 net-next] netdevice.h: Add zero-copy flag in netdevice
From: Shirley Ma <hidden>
Date: 2011-05-18 17:00:56
Also in:
kvm, lkml
From: Shirley Ma <hidden>
Date: 2011-05-18 17:00:56
Also in:
kvm, lkml
On Wed, 2011-05-18 at 19:51 +0300, Michael S. Tsirkin wrote:
quoted
quoted
Yes, I agree. I think for tcpdump, we really need to copy thedataquoted
quoted
anyway, to avoid guest changing it in between. So we do that andthenquoted
quoted
use the copy everywhere, release the old one. Hmm?Yes. Old one use zerocopy, new one use copy data. Thanks ShirleyNo, that's wrong, as they might become different with a malicious guest. As long as we copied already, lets realease the data and have everyone use the copy.
Ok, I will patch pskb_expand_head to test it out. Shirley