Message ID | 20210303185636.18070-3-maciej.fijalkowski@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6bc6699881012b5bd5d49fa861a69a37fc01b49c |
Delegated to: | BPF |
Headers | show |
Series | AF_XDP small fixes | expand |
diff --git a/samples/bpf/xdpsock_user.c b/samples/bpf/xdpsock_user.c index db0cb73513a5..1e2a1105d0e6 100644 --- a/samples/bpf/xdpsock_user.c +++ b/samples/bpf/xdpsock_user.c @@ -1699,5 +1699,7 @@ int main(int argc, char **argv) xdpsock_cleanup(); + munmap(bufs, NUM_FRAMES * opt_xsk_frame_size); + return 0; }