Skip to content

Commit

Permalink
fix(bpf): revert using bpf_redirect_peer (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 authored Mar 30, 2024
1 parent 7aad3a9 commit 36fa05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/kern/tproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ int tproxy_lan_ingress(struct __sk_buff *skb)
// Assign to control plane.
control_plane:
prep_redirect_to_control_plane(skb, link_h_len, &tuples, l4proto, &ethh, 0, &tcph);
return bpf_redirect_peer(PARAM.dae0_ifindex, 0);
return bpf_redirect(PARAM.dae0_ifindex, 0);

direct:
return TC_ACT_OK;
Expand Down

0 comments on commit 36fa05b

Please sign in to comment.