Type: fix
Change-Id: Ia923cd9302688496d28d2fd5658718b40b17cc1a
Signed-off-by: Vengada Govindan <venggovi@cisco.com>
/* Entry should point to a mapping ...*/
map0 = pool_elt_at_index(nm->nsh_mappings, entry0[0]);
/* Entry should point to a mapping ...*/
map0 = pool_elt_at_index(nm->nsh_mappings, entry0[0]);
- if (PREDICT_FALSE(map0 == 0))
- {
- error0 = NSH_NODE_ERROR_NO_MAPPING;
- goto trace0;
- }
/* set up things for next node to transmit ie which node to handle it and where */
next0 = map0->next_node;
/* set up things for next node to transmit ie which node to handle it and where */
next0 = map0->next_node;
/* Entry should point to a mapping ...*/
map1 = pool_elt_at_index(nm->nsh_mappings, entry1[0]);
/* Entry should point to a mapping ...*/
map1 = pool_elt_at_index(nm->nsh_mappings, entry1[0]);
- if (PREDICT_FALSE(map1 == 0))
- {
- error1 = NSH_NODE_ERROR_NO_MAPPING;
- goto trace1;
- }
/* set up things for next node to transmit ie which node to handle it and where */
next1 = map1->next_node;
/* set up things for next node to transmit ie which node to handle it and where */
next1 = map1->next_node;
/* Entry should point to a mapping ...*/
map0 = pool_elt_at_index(nm->nsh_mappings, entry0[0]);
/* Entry should point to a mapping ...*/
map0 = pool_elt_at_index(nm->nsh_mappings, entry0[0]);
- if (PREDICT_FALSE(map0 == 0))
- {
- error0 = NSH_NODE_ERROR_NO_MAPPING;
- goto trace00;
- }
/* set up things for next node to transmit ie which node to handle it and where */
next0 = map0->next_node;
/* set up things for next node to transmit ie which node to handle it and where */
next0 = map0->next_node;