summaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp1_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/xdp1_kern.c')
-rw-r--r--samples/bpf/xdp1_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/xdp1_kern.c b/samples/bpf/xdp1_kern.c
index 0a5c704badd0..d91f27cbcfa9 100644
--- a/samples/bpf/xdp1_kern.c
+++ b/samples/bpf/xdp1_kern.c
@@ -39,7 +39,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)
{