mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 21:25:01 +07:00
bpf: Don't clear checksum on wan_egress (#393)
This commit is contained in:
parent
3a8f2d642c
commit
5360893c3d
9
.github/workflows/kernel-test.yml
vendored
9
.github/workflows/kernel-test.yml
vendored
@ -208,13 +208,8 @@ jobs:
|
||||
cmd: |
|
||||
set -ex
|
||||
|
||||
if docker exec dae dig @2606:4700:4700::1111 one.one.one.one; then
|
||||
echo "Shouldn't succeed until https://github.com/daeuniverse/dae/issues/387 is resolved"
|
||||
false
|
||||
else
|
||||
echo "Ingore failure until https://github.com/daeuniverse/dae/issues/387 is resolved"
|
||||
true
|
||||
fi
|
||||
docker exec dae dig @2606:4700:4700::1111 one.one.one.one
|
||||
cat /host/dae.log | grep -F -- '-> [2606:4700:4700::1111]:53'
|
||||
|
||||
- name: Setup LAN
|
||||
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
|
||||
|
@ -1797,8 +1797,6 @@ int tproxy_wan_egress(struct __sk_buff *skb) {
|
||||
// }
|
||||
// }
|
||||
|
||||
disable_l4_checksum(skb, link_h_len, l4proto, ihl);
|
||||
|
||||
// Redirect from egress to ingress.
|
||||
if ((ret = bpf_redirect(skb->ifindex, BPF_F_INGRESS)) == TC_ACT_SHOT) {
|
||||
bpf_printk("Shot bpf_redirect: %d", ret);
|
||||
|
Loading…
Reference in New Issue
Block a user