acl-plugin: tuplemerge: refresh the pointer to hash-readied ACL entries per each... 30/15330/1
authorAndrew Yourtchenko <[email protected]>
Tue, 16 Oct 2018 15:18:26 +0000 (17:18 +0200)
committerAndrew Yourtchenko <[email protected]>
Wed, 17 Oct 2018 07:59:19 +0000 (07:59 +0000)
commitda7bcd4bd684843bdadaab1831b12e3cbf1465a7
treed4b6631362a2fb082519e4cdf27ae060e940f919
parent9c335ce8e786cb0de22082522347010c47d2f9cc
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 <[email protected]>
(cherry picked from commit 84112dd4f98e5a31a8c7340a741f89e77fd03363)
src/plugins/acl/hash_lookup.c