diff options
author | Matthew Smith <mgsmith@netgate.com> | 2022-04-05 18:20:07 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-04-08 16:18:33 +0000 |
commit | 6120441f9fbfd275e3993712b92eeb80da652767 (patch) | |
tree | 1091e11750ad4ad11ee52f50f7f1f4a6ba74bc7a /src/plugins/ioam/ip6/ioam_cache.api | |
parent | 90998bc00253730fc640d51e9995e71c2abbd6d0 (diff) |
linux-cp: fix setting mtu on hardware interfaces
Type: fix
Fixes: 616447c39231
In lcp_router_link_mtu(), either vnet_hw_interface_set_mtu() or
vnet_sw_interface_set_mtu() is called, based on whether this appears to
be a physical interface. The test to determine whether this is true was
incorrect and probably never worked right so vnet_sw_interface_set_mtu()
was always being called. This causes some breakage with Recent changes
to code which manages interface MTUs. Fix the test so the right function
is called.
Change-Id: I1ecccbce37d5a1e53b2349ed40f3d0d27eb03569
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/ioam/ip6/ioam_cache.api')
0 files changed, 0 insertions, 0 deletions