acl-plugin: tuplemerge: refresh the pointer to hash-readied ACL entries per each... 29/15329/1
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 16 Oct 2018 15:18:26 +0000 (17:18 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 17 Oct 2018 07:57:25 +0000 (07:57 +0000)
commitad65f88c51379c24580c3a986be806a5091c5396
tree03dc9a57ab699de0f36042b7aaea6c12d7653502
parentd6fe5bd60671c5f274c290abf08df074510c952b
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>
(cherry picked from commit 84112dd4f98e5a31a8c7340a741f89e77fd03363)
src/plugins/acl/hash_lookup.c