diff options
author | Jason Wang <[email protected]> | 2013-12-09 18:25:17 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-12-10 22:06:49 -0500 |
commit | 730054da3868c35809fd31a4018044ab10b0e215 (patch) | |
tree | 7b83e6854b19f4204e8785977f97ac3ff51df03a /tools/perf/scripts/python/syscall-counts.py | |
parent | 923347bb83c67c3a572b04decb5875c3adb0d306 (diff) |
macvtap: signal truncated packets
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 truncated
checking work.
Cc: Vlad Yasevich <[email protected]>
Cc: Zhi Yong Wu <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions