VPP-574: fix the MACIP ACLs blocking ARP traffic 30/4530/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 3 Jan 2017 13:28:26 +0000 (13:28 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 3 Jan 2017 15:48:39 +0000 (15:48 +0000)
commit856ab8aca32dcb06b5392f391e116ce350334f52
tree01d044d031c59f36d1b1d23cbf5cbe679ce6c8b1
parent81c09d03d8d8f37867f776ecf29a6c205883c4d9
VPP-574: fix the MACIP ACLs blocking ARP traffic

The initial assumption was that the MACIP ACL classifier tables would be applied
after the classification of the traffic based on the ethertype, it turned out
to be untrue, but the fix in the code did not happen.

Add the ethertype to the mask, and the logic to create the ACL classifier tables
permitting the ARP ethertype with the correct payload.

Change-Id: I70236a8a723970c662ddaef6bc9fce93d2e630c1
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
plugins/acl-plugin/acl/acl.c