acl-plugin: tuplemerge: refresh the pointer to hash-readied ACL entries per each... 09/15309/1
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 16 Oct 2018 15:18:26 +0000 (17:18 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 16 Oct 2018 15:18:26 +0000 (17:18 +0200)
commit84112dd4f98e5a31a8c7340a741f89e77fd03363
tree4b366e25781323dd4c71018bdd35cfabb8b387d4
parentd6a0d0e2063fcc93eb56fc8a542e89a8e0b53741
acl-plugin: tuplemerge: refresh the pointer to hash-readied ACL entries per each collision in split_partition() (VPP-1458)

A pointer to hash-ready ACL rules is only set once, which might cause a crash if there are colliding entries
from more than one ACL applied.

Solution: reload the pointer based on the element being processed.

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