summaryrefslogtreecommitdiff
path: root/net/bpf
diff options
context:
space:
mode:
Diffstat (limited to 'net/bpf')
-rw-r--r--net/bpf/test_run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bpf/test_run.c b/net/bpf/test_run.c
index 0acdc37c8415..24405a280a9b 100644
--- a/net/bpf/test_run.c
+++ b/net/bpf/test_run.c
@@ -196,9 +196,9 @@ static int xdp_test_run_setup(struct xdp_test_data *xdp, struct xdp_buff *orig_c
err_mmodel:
page_pool_destroy(pp);
err_pp:
- kfree(xdp->skbs);
+ kvfree(xdp->skbs);
err_skbs:
- kfree(xdp->frames);
+ kvfree(xdp->frames);
return err;
}