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, api-next has been updated via c28c81745896d433262cc964d341f6e2d448c12f (commit) from c10a2195b23c5ad230dad2ee252a96d1e418b5c7 (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 c28c81745896d433262cc964d341f6e2d448c12f Author: Bill Fischofer bill.fischofer@linaro.org Date: Thu Jan 12 06:14:19 2017 -0600
linux-generic: packet: remove erroneous assert
odp_packet_set_len() is only called from the classifier on paths for which a dummy header may be used. Rather than setting a dummy reference count to validate, it's simpler to just delete the assert. This resolves Bug https://bugs.linaro.org/show_bug.cgi?id=2814
Signed-off-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Christophe Milard christophe.milard@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h index 607560d..c5dc989 100644 --- a/platform/linux-generic/include/odp_packet_internal.h +++ b/platform/linux-generic/include/odp_packet_internal.h @@ -324,8 +324,6 @@ static inline void packet_ref_count_set(odp_packet_hdr_t *pkt_hdr, uint32_t n)
static inline void packet_set_len(odp_packet_hdr_t *pkt_hdr, uint32_t len) { - ODP_ASSERT(packet_ref_count(pkt_hdr) == 1); - pkt_hdr->frame_len = len; pkt_hdr->unshared_len = len; }
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/include/odp_packet_internal.h | 2 -- 1 file changed, 2 deletions(-)
hooks/post-receive