This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 83fda5a447335b95bdd991187d4efb0a15a5709a (commit) from 654507c6eeed83dd84210f7e481ded34f5d4cdca (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 83fda5a447335b95bdd991187d4efb0a15a5709a Author: Petri Savolainen petri.savolainen@linaro.org Date: Tue Mar 27 16:53:08 2018 +0300
api: packet: UDP checksum value of zero
UDP checksum value of zero results OK status when checksum is checked.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index e1f2f221..66665e12 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -1711,6 +1711,9 @@ odp_packet_chksum_status_t odp_packet_l3_chksum_status(odp_packet_t pkt); * attempt. It depends on packet input (or IPSEC) configuration, packet content * and implementation capabilities if checksum check is attempted for a packet. * + * When a UDP packet does not have a checksum (e.g. checksum field of a UDP/IPv4 + * packet is zero), checksum check result is ODP_PACKET_CHKSUM_OK. + * * @param pkt Packet handle * * @return L4 checksum check status
-----------------------------------------------------------------------
Summary of changes: include/odp/api/spec/packet.h | 3 +++ 1 file changed, 3 insertions(+)
hooks/post-receive