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 01ec93bbfffe740b1a12213ac201c89dd9f2ef71 (commit) from 7c458a44a785ab664f2f92ed14845fa8ece6e0ec (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 01ec93bbfffe740b1a12213ac201c89dd9f2ef71 Author: Balasubramanian Manoharan bala.manoharan@linaro.org Date: Fri Jan 19 00:30:53 2018 +0530
linux-gen: cls: fix: invalid queue handle check for hashing
invalid queue handle check should not be done for hash queues Fixes: https://bugs.linaro.org/show_bug.cgi?id=3577
Signed-off-by: Balasubramanian Manoharan bala.manoharan@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index e924a9c6..f22dd091 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -988,8 +988,10 @@ int cls_classify_packet(pktio_entry_t *entry, const uint8_t *base, if (cos == NULL) return -EINVAL;
- if (cos->s.queue == ODP_QUEUE_INVALID || - cos->s.pool == ODP_POOL_INVALID) + if (cos->s.queue == ODP_QUEUE_INVALID && cos->s.num_queue == 1) + return -EFAULT; + + if (cos->s.pool == ODP_POOL_INVALID) return -EFAULT;
*pool = cos->s.pool;
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_classification.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive