From: Jason Wang <[email protected]> Date: Wed, 11 Dec 2013 13:08:33 +0800
> Commit 6680ec68eff47d36f67b4351bc9836fd6cba9532 > (tuntap: hardware vlan tx support) breaks the truncated packet signal by nev > return a length greater than iov length in tun_put_user(). This patch fixes > by always return the length of packet plus possible vlan header. Caller can > detect the truncated packet by comparing the return value and the size of io > length. > > Cc: Zhi Yong Wu <[email protected]> > Cc: Michael S. Tsirkin <[email protected]> > Signed-off-by: Vlad Yasevich <[email protected]> > Signed-off-by: Jason Wang <[email protected]> Applied and queued up for -stable. -- 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/

