Skip to content

Commit

Permalink
Do not set devices cgroup when updating containers to avoid eBPF prog…
Browse files Browse the repository at this point in the history
…rams leak

Signed-off-by: Li Bo <[email protected]>
  • Loading branch information
borgerli committed Mar 28, 2021
1 parent 3505f15 commit 7a503e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions update.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ other options are ignored.
config.IntelRdt.MemBwSchema = memBwSchema
}

// Do not set devices cgroup when updating containers to avoid eBPF programs leak
config.Cgroups.SkipDevices = true

return container.Set(config)
},
}

0 comments on commit 7a503e6

Please sign in to comment.