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)
commit444890c3ce7d74bdc20f2bf930b8476b98d3e972
treeea919a7a88f8de9f4c77854bc37f9f12bb5f751e
parent9492686c53f3a98e7027d1079db1471ab20e17de
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