Skip to content

Commit 41275e9

Browse files
fixup! add XDPLua
1 parent d9c611a commit 41275e9

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
@@ -4899,9 +4899,9 @@ static const struct bpf_func_proto bpf_lua_pop_proto = {
48994899
.arg2_type = ARG_ANYTHING,
49004900
};
49014901

4902-
BPF_CALL_2(bpf_lua_pushinteger, struct xdp_buff *, ctx, int, num) {
4902+
BPF_CALL_2(bpf_lua_pushinteger, struct xdp_buff *, ctx, lua_Integer, integer) {
49034903
verify_and_lock();
4904-
lua_pushinteger(ctx->L, num);
4904+
lua_pushinteger(ctx->L, integer);
49054905
return 0;
49064906
}
49074907

0 commit comments

Comments
 (0)