summaryrefslogtreecommitdiff
path: root/net/core/lwtunnel.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2016-11-30 19:10:09 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-02 18:51:49 +0300
commitefd857008142017ff1b4ff70d98f4a5f6003cbea (patch)
tree60a5b287dc3b375946b8cc22cf83273d9024772d /net/core/lwtunnel.c
parent11b3d9c5869bc96997cada33be6a56ebd179786b (diff)
downloadlinux-efd857008142017ff1b4ff70d98f4a5f6003cbea.tar.xz
route: Set lwtstate for local traffic and cached input dsts
A route on the output path hitting a RTN_LOCAL route will keep the dst associated on its way through the loopback device. On the receive path, the dst_input() call will thus invoke the input handler of the route created in the output path. Thus, lwt redirection for input must be done for dsts allocated in the otuput path as well. Also, if a route is cached in the input path, the allocated dst should respect lwtunnel configuration on the nexthop as well. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwtunnel.c')
0 files changed, 0 insertions, 0 deletions