VPP-574: fix the MACIP ACLs blocking ARP traffic 39/4539/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 3 Jan 2017 17:06:29 +0000 (17:06 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 3 Jan 2017 18:25:21 +0000 (18:25 +0000)
commitddcc99ebc9789b198532a2d6cdb3e29256fa58e4
treedf36ca312501a76bb0135d0213ced8d258234a0a
parent66f76f287824188bc707eb1c88c1d94f201e66f5
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: I7c05c7893f6df8258998eed8983056c77586df81
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c