diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-04-09 21:46:20 +0200 |
---|---|---|
committer | Marco Varlese <marco.varlese@suse.de> | 2018-04-11 10:01:00 +0000 |
commit | eba3cea3e4d2865b8b5462f656d42204f28d3f19 (patch) | |
tree | b0c1b924c2b3cae8c06724b4f319d9fdacc0d08d /test | |
parent | 7486d3c60fbb205c356a166521166b6eeefcc111 (diff) |
acl-plugin: VPP-1231: add error checking to acl_plugin_set_acl_vec_for_context
The users of ACL lookup contexts might not check the data they supply,
so do it on their behalf in this function, and return an error if
an ACL does not exist or if they attempt to apply the same ACL twice.
Change-Id: I89d871e60f267ce643f88574c83baf9cd0a2d7b3
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
(cherry picked from commit e5cbccf35f4d230afafa633abbc88e64ef33d758)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions