summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand B Jyoti <anand.b.jyoti@intel.com>2017-10-11 10:39:51 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-10-11 20:26:22 -0700
commit8f3b4da193b5f2050c06ca57eb09e32439901c5b (patch)
treec0b028168dc9e3011422e273c6807edee769cd2a
parent9e89bb88d02bb1235d8d120a49399daa9ad34347 (diff)
arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored
JIRA: SAMPLEVNF-86 Due to this KW fix the arp pipeline is rejecting the commands greater than PIPELINE_MAX_ARGS size. This is seen in arp_route_tbl which can is becoming bigger in case of multi port setup. This patch undo the KW fix which is causing issue with longer parameters under ARPICMP pipeline. Change-Id: I7bd7124118f531aa70d0fddd75a8ae693455d361 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
-rw-r--r--common/VIL/l2l3_stack/lib_arp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/VIL/l2l3_stack/lib_arp.c b/common/VIL/l2l3_stack/lib_arp.c
index 39a740dd..5d78d9ba 100644
--- a/common/VIL/l2l3_stack/lib_arp.c
+++ b/common/VIL/l2l3_stack/lib_arp.c
@@ -2124,11 +2124,6 @@ static int arp_parse_args(struct pipeline_params *params)
RTE_SET_USED(arp_route_tbl_present);
for (numArg = 0; numArg < params->n_args; numArg++) {
- if(strlen(params->args_value[numArg]) > PIPELINE_MAX_ARGS) {
- /* KW Fix */
- printf("WARNING: Non-Null terminated Parameter not processed\n");
- continue;
- }
char *arg_name = params->args_name[numArg];
char *arg_value = params->args_value[numArg];