aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2014-11-03 04:30:13 +0800
committerDavid S. Miller <[email protected]>2014-11-03 14:27:06 -0500
commita8f9bfdf982e2b1fb9f094e4de9ab08c57f3d2fd (patch)
treef95d7271223a6fb762b1786a4c15f9ecf95c7aed /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7071cf7fc435ab84df872613f613a9a055964fc1 (diff)
tun: Fix csum_start with VLAN acceleration
When VLAN acceleration is in use on the xmit path, we end up setting csum_start to the wrong place. The result is that the whoever ends up doing the checksum setting will corrupt the packet instead of writing the checksum to the expected location, usually this means writing the checksum with an offset of -4. This patch fixes this by adjusting csum_start when VLAN acceleration is detected. Fixes: 6680ec68eff4 ("tuntap: hardware vlan tx support") Cc: [email protected] Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions