ACL: Fix next_table_index classifiers consistancy 84/11184/5
authorGregory Thiemonge <gregory.thiemonge@enea.com>
Fri, 16 Mar 2018 07:40:50 +0000 (07:40 +0000)
committerDamjan Marion <dmarion@me.com>
Thu, 25 Oct 2018 10:28:52 +0000 (10:28 +0000)
commit3935fc8527c340535a00108b78f3de064df50a7f
treedea0240fc4d857f43e410a9b2271f1032b9a357f
parent1bc560463b96930b067452c8908c6bb6adf0e129
ACL: Fix next_table_index classifiers consistancy

Fixed consistancy between the first classifier match and the
next_table_index classifier matches:
- CLASSIFY_ACTION_SET_METADATA was applied only for the first
  classifier, but it was not applied for the other classifiers
- Actions should be performed only for input ACLs
- Payload should point at the IP header for output ACLs

Change-Id: Ifbd7791756320ae3198520c41902f5e99e3d40b4
Signed-off-by: Gregory Thiemonge <gregory.thiemonge@enea.com>
src/vnet/ip/ip_in_out_acl.c