Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf: Fix reset of CB_PROXY_MAGIC #17592

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bpf/bpf_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ int to_host(struct __ctx_buff *ctx)
/* Upper 16 bits may carry proxy port number */
__be16 port = magic >> 16;

ctx_store_meta(ctx, 0, CB_PROXY_MAGIC);
ctx_store_meta(ctx, CB_PROXY_MAGIC, 0);
ret = ctx_redirect_to_proxy_first(ctx, port);
if (IS_ERR(ret))
goto out;
Expand Down