summaryrefslogtreecommitdiffstats
path: root/Documentation/dvb
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-12-11 06:08:33 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-11 21:23:06 +0100
commite6fd07c899cd719bb5517bc7f32ce03a62220351 (patch)
treea696c4fea94bcb51b6a8006074e1bb233e53ce95 /Documentation/dvb
parentnet: sched: htb: fix the calculation of quantum (diff)
downloadlinux-e6fd07c899cd719bb5517bc7f32ce03a62220351.tar.xz
linux-e6fd07c899cd719bb5517bc7f32ce03a62220351.zip
tun: unbreak truncated packet signalling
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 <wuzhy@linux.vnet.ibm.com> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/dvb')
0 files changed, 0 insertions, 0 deletions