summaryrefslogtreecommitdiff
path: root/lib/librte_table
diff options
context:
space:
mode:
authorJasvinder Singh <jasvinder.singh@intel.com>2018-03-29 19:31:31 +0100
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>2018-04-04 12:26:20 +0200
commit8173863865cb4c0a669ad6c870a6b3f220f0edba (patch)
treefae00f35580395f9160afb0b7c974bda67d32c9c /lib/librte_table
parentf0e352ddb016ca346c66b5cd97f15896fdf829ee (diff)
downloaddpdk-8173863865cb4c0a669ad6c870a6b3f220f0edba.zip
dpdk-8173863865cb4c0a669ad6c870a6b3f220f0edba.tar.gz
dpdk-8173863865cb4c0a669ad6c870a6b3f220f0edba.tar.xz
table: remove incorrect check for ACL
Remove wrong check for table entry pointer. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Diffstat (limited to 'lib/librte_table')
-rw-r--r--lib/librte_table/rte_table_acl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 73d3910..14d5401 100644
--- a/lib/librte_table/rte_table_acl.c
+++ b/lib/librte_table/rte_table_acl.c
@@ -472,12 +472,6 @@ rte_table_acl_entry_add_bulk(
return -EINVAL;
}
- if (entries_ptr[i] == NULL) {
- RTE_LOG(ERR, TABLE, "%s: entries_ptr[%" PRIu32 "] parameter is NULL\n",
- __func__, i);
- return -EINVAL;
- }
-
rule = keys[i];
if (rule->priority > RTE_ACL_MAX_PRIORITY) {
RTE_LOG(ERR, TABLE, "%s: Priority is too high\n", __func__);