Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf: nat: tolerate unhandled protocol types in revSNAT path #25740

Merged

Commits on May 29, 2023

  1. bpf: nat: tolerate unhandled protocol types in revSNAT path

    In the past we would just pass up packets with unknown protocols, and let
    the next layer (or the stack) deal with them.
    
    cilium#19753 recently added error handling
    for the revSNAT paths, so that we can catch errors while eg. rewriting the
    packet headers.
    
    But we want to preserve the old behaviour of tolerating unknown protocol
    types. So return NAT_PUNT_TO_STACK from a few additional ICMP paths.
    
    Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
    julianwiedmann committed May 29, 2023
    Configuration menu
    Copy the full SHA
    aa54c25 View commit details
    Browse the repository at this point in the history