diff options
author | Ian Gudger <igudger@google.com> | 2019-03-12 14:36:58 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-12 14:37:56 -0700 |
commit | a16f6e50c5a6465b94f367d62c7a46b34ef15f66 (patch) | |
tree | 6ad6ab66e1ed0c8da218f3db0afe47fc74452e06 /pkg/tcpip/stack/linkaddrcache_test.go | |
parent | 8930e79ebf72a0cc69e9b81af37bcbb57b115543 (diff) |
Make HandleLocal apply to all non-loopback interfaces.
HandleLocal is very similar conceptually to MULTICAST_LOOP, so we can unify
the implementations. This has the benefit of making HandleLocal apply even when
the fdbased link endpoint isn't in use.
In addition, move looping logic to route creation so that it doesn't need to be
run for each packet. This should improve performance.
PiperOrigin-RevId: 238099480
Change-Id: I72839f16f25310471453bc9d3fb8544815b25c23
Diffstat (limited to 'pkg/tcpip/stack/linkaddrcache_test.go')
0 files changed, 0 insertions, 0 deletions