diff options
author | Daniel Mack <daniel@zonque.org> | 2016-11-11 19:59:19 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-21 07:02:44 +0100 |
commit | 58505eca4f5a861e4779e57878f7974a935da8d2 (patch) | |
tree | 55db1db0c90d3f63dc4d15bbaf6d5f5e2b95adc1 /src/core/cgroup.c | |
parent | 7c8473b165e5a0af8a85fc9b40bb9eb319e7554a (diff) |
cgroup: add fields to accommodate eBPF related details
Add pointers for compiled eBPF programs as well as list heads for allowed
and denied hosts for both directions.
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r-- | src/core/cgroup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 1289ddf73..17d3eb2e5 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -142,6 +142,9 @@ void cgroup_context_done(CGroupContext *c) { while (c->device_allow) cgroup_context_free_device_allow(c, c->device_allow); + + c->ip_address_allow = ip_address_access_free_all(c->ip_address_allow); + c->ip_address_deny = ip_address_access_free_all(c->ip_address_deny); } void cgroup_context_dump(CGroupContext *c, FILE* f, const char *prefix) { |