acl-plugin: get rid of a separate "count" field in the linear acl struct 15/18415/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 20 Mar 2019 10:11:19 +0000 (11:11 +0100)
committerDamjan Marion <dmarion@me.com>
Fri, 22 Mar 2019 17:33:09 +0000 (17:33 +0000)
commitb5395729c7b08c88f2e520c06b0edec28d3a1fe1
tree8eaa6ef43d59bebd649351295bdf11224b26dac1
parent063dfa1587a58319fac139eab5e655ad1c555e33
acl-plugin: get rid of a separate "count" field in the linear acl struct

Long time ago, the linear array of rules in the ACL structure was not
a vector. Now it is, so get rid of the extraneous "count" member.
Do so in a manner that would ease potential the MP-safe manipulation of
ACL rules in the future.

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