From 41275e9c19a35b8da65e91cdef483c0265478bf7 Mon Sep 17 00:00:00 2001 From: Victor Nogueira Date: Sun, 13 Sep 2020 20:17:36 -0300 Subject: [PATCH] fixup! add XDPLua --- net/core/filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/core/filter.c b/net/core/filter.c index c64cbf1836cc3e..7ba2bfee33b298 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -4899,9 +4899,9 @@ static const struct bpf_func_proto bpf_lua_pop_proto = { .arg2_type = ARG_ANYTHING, }; -BPF_CALL_2(bpf_lua_pushinteger, struct xdp_buff *, ctx, int, num) { +BPF_CALL_2(bpf_lua_pushinteger, struct xdp_buff *, ctx, lua_Integer, integer) { verify_and_lock(); - lua_pushinteger(ctx->L, num); + lua_pushinteger(ctx->L, integer); return 0; }