diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-12 04:44:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-12 04:44:08 +0000 |
commit | a6fe5060c0626b6992c62faa0d5021ce08fb9940 (patch) | |
tree | 1172c81f34ff42a3d94777d9c564831c25ac5c09 /src/libknot/xdp/bpf-user.c | |
parent | Releasing progress-linux version 3.3.8-1~progress7.99u1. (diff) | |
download | knot-a6fe5060c0626b6992c62faa0d5021ce08fb9940.tar.xz knot-a6fe5060c0626b6992c62faa0d5021ce08fb9940.zip |
Merging upstream version 3.3.9.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/libknot/xdp/bpf-user.c')
-rw-r--r-- | src/libknot/xdp/bpf-user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libknot/xdp/bpf-user.c b/src/libknot/xdp/bpf-user.c index 449dffe..4963e3d 100644 --- a/src/libknot/xdp/bpf-user.c +++ b/src/libknot/xdp/bpf-user.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> +/* Copyright (C) 2024 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -289,13 +289,13 @@ int kxsk_iface_new(const char *if_name, unsigned if_queue, knot_xdp_load_bpf_t l ret = get_bpf_maps(ret, iface); } if (ret < 0) { - free(iface); + kxsk_iface_free(iface); return ret; } knot_xdp_mode_t mode = knot_eth_xdp_mode(iface->if_index); if (mode == KNOT_XDP_MODE_NONE) { - free(iface); + kxsk_iface_free(iface); return KNOT_ENOTSUP; } |