diff options
author | Steven Luong <sluong@cisco.com> | 2020-01-27 10:37:56 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-01-27 20:42:43 +0000 |
commit | 03328ec8bb86b93fa70bb6b2a9b37c40e686a1f7 (patch) | |
tree | b7ab5d60102a8127fad4bbf44027332791a45fd8 /src/vppinfra/pcap.h | |
parent | 14053c9dbd75182f5302f7388d17508f3930f7ce (diff) |
interface: Add missing ip4 udp->checksum = 0 prior to computing checksum
For ip4 tcp, ip6 tcp, and ip6 udp packet, we set checksum = 0 prior to
computing the checksum. We missed ip4 udp case. This oversight requires all
clients to set udp->checksum = 0 if ip4 udp checksum offload is needed.
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ic608811e82099f3bec469e123671e9b281f38d76
Diffstat (limited to 'src/vppinfra/pcap.h')
0 files changed, 0 insertions, 0 deletions