• Tom Herbert's avatar
    ila: Add a hook type for LWT routes · fddb231e
    Tom Herbert authored
    In LWT tunnels both an input and output route method is defined.
    If both of these are executed in the same path then double translation
    happens and the effect is not correct.
    
    This patch adds a new attribute that indicates the hook type. Two
    values are defined for route output and route output. ILA
    translation is only done for the one that is set. The default is
    to enable ILA on route output.
    Signed-off-by: default avatarTom Herbert <tom@quantonium.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fddb231e
ila_lwt.c 7.58 KB