diff options
author | David Ahern <dsahern@gmail.com> | 2017-08-31 15:05:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-01 06:05:15 +0100 |
commit | fa38aa17bcf31a798638d911891cd478cdea40e0 (patch) | |
tree | 0f8740c0a28fe5df698e16ff7905aca62e7d815b /samples/bpf/test_cgrp2_sock.sh | |
parent | ae2cf1c466bea99e927899707aed022942505d27 (diff) |
samples/bpf: Update sock test to allow setting mark and priority
Update sock test to set mark and priority on socket create.
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/test_cgrp2_sock.sh')
-rwxr-xr-x | samples/bpf/test_cgrp2_sock.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/test_cgrp2_sock.sh b/samples/bpf/test_cgrp2_sock.sh index 925fd467c7cc..1153c33e8964 100755 --- a/samples/bpf/test_cgrp2_sock.sh +++ b/samples/bpf/test_cgrp2_sock.sh @@ -20,7 +20,7 @@ function attach_bpf { mkdir -p /tmp/cgroupv2 mount -t cgroup2 none /tmp/cgroupv2 mkdir -p /tmp/cgroupv2/foo - test_cgrp2_sock /tmp/cgroupv2/foo foo + test_cgrp2_sock -b foo /tmp/cgroupv2/foo echo $$ >> /tmp/cgroupv2/foo/cgroup.procs } |