Skip to content

Commit 9f3e900

Browse files
committed
bpf: revert using bpf_redirect_peer
1 parent b9741c9 commit 9f3e900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/kern/tproxy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ int tproxy_lan_ingress(struct __sk_buff *skb)
10621062
// Assign to control plane.
10631063
control_plane:
10641064
prep_redirect_to_control_plane(skb, link_h_len, &tuples, l4proto, &ethh, 0, &tcph);
1065-
return bpf_redirect_peer(PARAM.dae0_ifindex, 0);
1065+
return bpf_redirect(PARAM.dae0_ifindex, 0);
10661066

10671067
direct:
10681068
return TC_ACT_OK;

0 commit comments

Comments
 (0)