Skip to content

Commit

Permalink
fixup! add XDPLua
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorNogueiraRio committed Nov 17, 2020
1 parent d9c611a commit 41275e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/core/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 41275e9

Please sign in to comment.