diff options
author | Daniel Mack <daniel@zonque.org> | 2016-11-28 16:11:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-30 03:50:59 +0300 |
commit | 01ae87eab53675cbdabd5c4d727c4a35e397cce0 (patch) | |
tree | 9a7770ebf6aa3f50a23b0f02908e27f5abd8e454 /kernel/bpf/cgroup.c | |
parent | a152c91889556df17ca6d8ea134fb2cb4ac9f893 (diff) | |
download | linux-01ae87eab53675cbdabd5c4d727c4a35e397cce0.tar.xz |
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: Daniel Mack <daniel@zonque.org>
Reported-by: Rami Rosen <roszenrami@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/cgroup.c')
-rw-r--r-- | kernel/bpf/cgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/bpf/cgroup.c b/kernel/bpf/cgroup.c index a0ab43f264b0..8c784f8c67cd 100644 --- a/kernel/bpf/cgroup.c +++ b/kernel/bpf/cgroup.c @@ -66,8 +66,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, |