commit | 6bc6699881012b5bd5d49fa861a69a37fc01b49c | [log] [tgz] |
---|---|---|
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | Wed Mar 03 19:56:35 2021 +0100 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Mar 04 15:53:32 2021 +0100 |
tree | 804da7a18fb0d07f50cb3dd4a12a63bb5b30bb0c | |
parent | c95c34f01bbda4421c25fdc9b04a4a4aab10d36c [diff] |
samples, bpf: Add missing munmap in xdpsock We mmap the umem region, but we never munmap it. Add the missing call at the end of the cleanup. Fixes: 3945b37a975d ("samples/bpf: use hugepages in xdpsock app") Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Björn Töpel <bjorn.topel@intel.com> Link: https://lore.kernel.org/bpf/20210303185636.18070-3-maciej.fijalkowski@intel.com