aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp2_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/xdp2_kern.c')
-rw-r--r--samples/bpf/xdp2_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/xdp2_kern.c b/samples/bpf/xdp2_kern.c
index 67804ecf7ce37..8bca674451ed1 100644
--- a/samples/bpf/xdp2_kern.c
+++ b/samples/bpf/xdp2_kern.c
@@ -55,7 +55,7 @@ static int parse_ipv6(void *data, u64 nh_off, void *data_end)
return ip6h->nexthdr;
}
-#define XDPBUFSIZE 64
+#define XDPBUFSIZE 60
SEC("xdp.frags")
int xdp_prog1(struct xdp_md *ctx)
{