This small series fixes two bugs in xsk_socket__delete. Details can be found in the individual commit messages, but a brief summary follows: Patch 1: fix null pointer dereference in xsk_socket__delete Patch 2: fix possible use after free in xsk_socket__delete This patch has been applied against commit 7a078d2d1880 ("libbpf, hashmap: Fix undefined behavior in hash_bits") Thanks: Magnus Magnus Karlsson (2): libbpf: fix null dereference in xsk_socket__delete libbpf: fix possible use after free in xsk_socket__delete tools/lib/bpf/xsk.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.7.4