diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2021-06-24 10:46:19 -0400 |
---|---|---|
committer | Alexander Chernavin <achernavin@netgate.com> | 2021-06-24 10:46:19 -0400 |
commit | 959613b5d7fbb8fadcd96853585268ffc33b3593 (patch) | |
tree | 6b6da24c45d0efd5897b253c11bfab125393c006 /src/plugins/linux-cp/lcp_node.c | |
parent | 1ef38743fd1499d41cb5e5a6a8e8529fe10393d1 (diff) |
linux-cp: stop managing adjacencies for tunnels
Type: fix
Outbound packets which arrive on tun/L3 interfaces use a default
adjacency for the interface & address family from the corresponding
interface pair. However, there are entries in the linux-cp adj table
that are created for them. Managing these entries might cause a
segfault because the rewrite data might exceed the reserved space for
it of 28 bytes in the linux-cp adj key (e.g. in case of GRE IPv6).
With this change, stop creating adjacencies for tun/L3 interfaces in
the linux-cp adj table and delegating them.
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: I4bcd685860053ab87c65064c182e3ed53fd4fae9
Diffstat (limited to 'src/plugins/linux-cp/lcp_node.c')
0 files changed, 0 insertions, 0 deletions