commit | 783687810e986a15ffbf86c516a1a48ff37f38f7 | [log] [tgz] |
---|---|---|
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | Tue Jan 23 13:30:44 2018 +0900 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Jan 23 19:10:09 2018 +0100 |
tree | 5ab3f5b8418fe372a8cf6e5dfe7ef84ff0627fc7 | |
parent | 8e6875250a1189e0d8db8b05e18abe63c2744521 [diff] |
bpf: test_maps: cleanup sockmaps when test ends Bug: BPF programs and maps related to sockmaps test exist in memory even after test_maps ends. This patch fixes it as a short term workaround (sockmap kernel side needs real fixing) by empyting sockmaps when test ends. Fixes: 6f6d33f3b3d0f ("bpf: selftests add sockmap tests") Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> [ daniel: Note on workaround. ] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>