samples/bpf: detach prog from cgroup
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Thu, 1 Mar 2018 05:47:40 +0000 (14:47 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 1 Mar 2018 23:16:36 +0000 (00:16 +0100)
commitc8745e07d5d676b2cb49f90baec1ac5e66cb7383
tree013b6aaa03d8c309e329fdfcf112b0045fe1e6b9
parent71d22d58b6e507147a9008ce2fd690cf311c97f9
samples/bpf: detach prog from cgroup

test_cgrp2_sock.sh and test_cgrp2_sock2.sh tests keep the program
attached to cgroup even after completion.
Using detach functionality of test_cgrp2_sock in both scripts.

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/test_cgrp2_sock.sh
samples/bpf/test_cgrp2_sock2.sh