On 12/10/2013 11:29 PM, Michael S. Tsirkin wrote:
> On Tue, Dec 10, 2013 at 01:49:46PM +0800, Jason Wang wrote:
>> > macvtap_put_user() never return a value grater than iov length, this in
>> > fact
>> > bypasses the truncated checking in macvtap_recvmsg(). Fix this by always
>> > returning the
On Tue, Dec 10, 2013 at 01:49:46PM +0800, Jason Wang wrote:
> macvtap_put_user() never return a value grater than iov length, this in fact
> bypasses the truncated checking in macvtap_recvmsg(). Fix this by always
> returning the size of packet plus the possible vlan header to let the trunca
>
On 12/10/2013 11:29 PM, Michael S. Tsirkin wrote:
On Tue, Dec 10, 2013 at 01:49:46PM +0800, Jason Wang wrote:
macvtap_put_user() never return a value grater than iov length, this in
fact
bypasses the truncated checking in macvtap_recvmsg(). Fix this by always
returning the size of packet
On Tue, Dec 10, 2013 at 01:49:46PM +0800, Jason Wang wrote:
macvtap_put_user() never return a value grater than iov length, this in fact
bypasses the truncated checking in macvtap_recvmsg(). Fix this by always
returning the size of packet plus the possible vlan header to let the trunca
macvtap_put_user() never return a value grater than iov length, this in fact
bypasses the truncated checking in macvtap_recvmsg(). Fix this by always
returning the size of packet plus the possible vlan header to let the trunca
checking work.
Cc: Vlad Yasevich
Cc: Zhi Yong Wu
Cc: Michael S.
macvtap_put_user() never return a value grater than iov length, this in fact
bypasses the truncated checking in macvtap_recvmsg(). Fix this by always
returning the size of packet plus the possible vlan header to let the trunca
checking work.
Cc: Vlad Yasevich vyasev...@gmail.com
Cc: Zhi Yong Wu
6 matches
Mail list logo