Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5d371cd authored by Daniel Mack's avatar Daniel Mack Committed by Dmitry Shmidt
Browse files

UPSTREAM: bpf: cgroup: fix documentation of __cgroup_bpf_update()



There's a 'not' missing in one paragraph. Add it.

Fixes: 3007098494be ("cgroup: add support for eBPF programs")
Signed-off-by: default avatarDaniel Mack <daniel@zonque.org>
Reported-by: default avatarRami Rosen <roszenrami@gmail.com>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>

Fixes: Change-Id: I3df35d8d3b1261503f9b5bcd90b18c9358f1ac28
       ("cgroup: add support for eBPF programs")
(cherry picked from commit 01ae87eab53675cbdabd5c4d727c4a35e397cce0)
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 1ee2b4b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,8 +67,8 @@ void cgroup_bpf_inherit(struct cgroup *cgrp, struct cgroup *parent)
 * Each cgroup has a set of two pointers for bpf programs; one for eBPF
 * programs it owns, and which is effective for execution.
 *
 * If @prog is %NULL, this function attaches a new program to the cgroup and
 * releases the one that is currently attached, if any. @prog is then made
 * If @prog is not %NULL, this function attaches a new program to the cgroup
 * and releases the one that is currently attached, if any. @prog is then made
 * the effective program of type @type in that cgroup.
 *
 * If @prog is %NULL, the currently attached program of type @type is released,