diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2016-12-08 20:33:19 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2016-12-08 21:18:38 +0000 |
commit | c9b20bc7a5399fd1e7bf2d33e7c4f1f08ef1c1e4 (patch) | |
tree | 19f1bc704800b89917c487bb209d4680d8432880 /plugins/acl-plugin/acl/l2sess.c | |
parent | 32905661d1d16198d74ec4596fe95659ebf81b67 (diff) |
acl: make MACIP ACL apply/unapply/delete logic more robust
1. vnet_set_input_acl_intfc expects currently applied table ids to
remove them properly, fixed that.
2. check if the interface has MACIP ACL applied before unapplying it
3. if applying MACIP ACL to interface that has one already applied,
unapply that first.
These changes required also swapping the order of the add/del functions.
Change-Id: I179490371507b07e9dd8852000954156c318d98c
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'plugins/acl-plugin/acl/l2sess.c')
0 files changed, 0 insertions, 0 deletions