Skip to content

Commit e16f94d

Browse files
fixup! add XDPLua
1 parent caec4fa commit e16f94d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/core/filter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4894,9 +4894,9 @@ static const struct bpf_func_proto bpf_lua_pop_proto = {
48944894
.arg2_type = ARG_ANYTHING,
48954895
};
48964896

4897-
BPF_CALL_2(bpf_lua_pushinteger, struct xdp_buff *, ctx, int, num) {
4897+
BPF_CALL_2(bpf_lua_pushinteger, struct xdp_buff *, ctx, lua_Integer, integer) {
48984898
verify_and_lock();
4899-
lua_pushinteger(ctx->L, num);
4899+
lua_pushinteger(ctx->L, integer);
49004900
return 0;
49014901
}
49024902

0 commit comments

Comments
 (0)