diff options
author | Alexander Duyck <[email protected]> | 2014-11-24 20:08:32 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-11-25 14:12:12 -0500 |
commit | f3750817a9034bd8cbb5ba583cd544e7cf14c7d8 (patch) | |
tree | 6191a9b166fdc589aba9aa206eb65030c31d50ce /tools/perf/scripts/python/syscall-counts.py | |
parent | 138a7f49270fde7547afe976a01cef2b9fbf3a0e (diff) |
ip6_udp_tunnel: Fix checksum calculation
The UDP checksum calculation for VXLAN tunnels is currently using the
socket addresses instead of the actual packet source and destination
addresses. As a result the checksum calculated is incorrect in some
cases.
Also uh->check was being set twice, first it was set to 0, and then it is
set again in udp6_set_csum. This change removes the redundant assignment
to 0.
Fixes: acbf74a7 ("vxlan: Refactor vxlan driver to make use of the common UDP tunnel functions.")
Cc: Andy Zhou <[email protected]>
Signed-off-by: Alexander Duyck <[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