diff options
author | David Ahern <[email protected]> | 2017-11-30 09:02:29 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2017-11-30 19:58:11 +0100 |
commit | 51de082570e5374d4578cb159738485ddb0fddfe (patch) | |
tree | e8bcdbb86fe2b9df74d232c7cf90e6a781333f36 /net/core/dev.c | |
parent | 9f66816a6a4dd740bfa29cc8a8e19b90fd7df4e7 (diff) |
samples/bpf: Convert magic numbers to names in multi-prog cgroup test case
Attach flag 1 == BPF_F_ALLOW_OVERRIDE; attach flag 2 == BPF_F_ALLOW_MULTI.
Update the calls to bpf_prog_attach() in test_cgrp2_attach2.c to use the
names over the magic numbers.
Fixes: 39323e788cb67 ("samples/bpf: add multi-prog cgroup test case")
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions