]> asedeno.scripts.mit.edu Git - linux.git/commit
ila: Add a hook type for LWT routes
authorTom Herbert <tom@quantonium.net>
Sun, 5 Nov 2017 23:58:25 +0000 (15:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 02:20:49 +0000 (11:20 +0900)
commitfddb231ebe647749782a9ebf11106a81f7168ba7
treef8aab6ffbf33af043fbab1c115f8f51da7663dac
parent70d5aef48a421a68bd9d1bf8f8267af406681580
ila: Add a hook type for LWT routes

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: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ila.h
net/ipv6/ila/ila_lwt.c