Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: nodeport: handle result from encap ctx_redirect() in revDNAT path
When redirecting a packet into the tunnel, return the result of that operation. Right now we're not reporting potential errors from the helper call. This will become more relevant with native XDP encapsulation, where ctx_redirect() can also turn the CTX_REDIRECT into a XDP_TX. Fixes: ff44164 ("bpf: Align rev_nodeport_lb{4,6} wrt egress GW tunnel mode") Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
- Loading branch information