]> git.baikalelectronics.ru Git - kernel.git/commit
ila: Don't use dest cache when gateway is set
authorTom Herbert <tom@herbertland.com>
Mon, 17 Oct 2016 04:25:35 +0000 (21:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2016 14:30:18 +0000 (10:30 -0400)
commitc4ae5765cab73bf934f0df215802cd6fc1c05ead
tree766518e8857a9fb5423d47398203b3020463471c
parentf4f4440bad13605a5f289d905b01411789143e75
ila: Don't use dest cache when gateway is set

If the gateway is set on an ILA route we don't need to bother with using
the destination cache in the ILA route. Translation does not change the
routing in this case so we can stick with orig_output in the lwstate
output function.

Tested: Ran netperf with and without gateway for LWT route.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ila/ila_lwt.c