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)
commitab3a70bef8f36b3884c7bee1f95c09c888ceb43e
tree766518e8857a9fb5423d47398203b3020463471c
parentab530f63e7fbac2b0a233da9d31e21a86d1863f5
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