]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: samples/sockmap detach sock ops program
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Tue, 13 Feb 2018 04:44:22 +0000 (13:44 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 14 Feb 2018 01:46:53 +0000 (17:46 -0800)
commit5388b7c5dc3225ba48de531f6fdeb98baaf7679b
treeea919a7a88f8de9f4c77854bc37f9f12bb5f751e
parent2d692d513f5662689d38fd52f7704710750c3aaf
bpf: samples/sockmap detach sock ops program

samples/sockops program keeps the sock_ops program attached to cgroup.
Fixed this by detaching program before exit.

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/sockmap/sockmap_user.c