aboutsummaryrefslogtreecommitdiffstats
path: root/net/bpf/test_run.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-11-04 07:46:55 +0000
committerBartosz Golaszewski <[email protected]>2024-11-04 07:46:55 +0000
commita7a86fe18b9a3c1e3f2c0b4687bf53cc2b9f9f88 (patch)
tree3d0296da382dd92ab964719d981fa32ee383e886 /net/bpf/test_run.c
parentgpio: mpsse: Check for error code from devm_mutex_init() call (diff)
parentLinux 6.12-rc6 (diff)
downloadkernel-a7a86fe18b9a3c1e3f2c0b4687bf53cc2b9f9f88.tar.gz
kernel-a7a86fe18b9a3c1e3f2c0b4687bf53cc2b9f9f88.zip
Merge tag 'v6.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into gpio/for-next
Linux 6.12-rc6
Diffstat (limited to 'net/bpf/test_run.c')
-rw-r--r--net/bpf/test_run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bpf/test_run.c b/net/bpf/test_run.c
index 6d7a442ceb89..501ec4249fed 100644
--- a/net/bpf/test_run.c
+++ b/net/bpf/test_run.c
@@ -246,6 +246,7 @@ static void reset_ctx(struct xdp_page_head *head)
head->ctx.data_meta = head->orig_ctx.data_meta;
head->ctx.data_end = head->orig_ctx.data_end;
xdp_update_frame_from_buff(&head->ctx, head->frame);
+ head->frame->mem = head->orig_ctx.rxq->mem;
}
static int xdp_recv_frames(struct xdp_frame **frames, int nframes,