Skip to content

Commit a858aba

Browse files
committed
bpf: revert using bpf_redirect_peer
1 parent d31d880 commit a858aba

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
@@ -1060,7 +1060,7 @@ int tproxy_lan_ingress(struct __sk_buff *skb)
10601060
// Assign to control plane.
10611061
control_plane:
10621062
prep_redirect_to_control_plane(skb, link_h_len, &tuples, l4proto, &ethh, 0, &tcph);
1063-
return bpf_redirect_peer(PARAM.dae0_ifindex, 0);
1063+
return bpf_redirect(PARAM.dae0_ifindex, 0);
10641064

10651065
direct:
10661066
return TC_ACT_OK;

0 commit comments

Comments
 (0)