From: Jason Wang <[email protected]> Date: Wed, 11 Dec 2013 13:08:34 +0800
> 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 <[email protected]> > Cc: Zhi Yong Wu <[email protected]> > Cc: Michael S. Tsirkin <[email protected]> > Signed-off-by: Jason Wang <[email protected]> Also applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

