Skip to content

Add support for setting/querying IPv4/IPv6 MTU - #152

Merged
troglobit merged 2 commits into
mainfrom
fix-unstable-tests
Oct 3, 2023
Merged

troglobit merged 2 commits into
mainfrom
fix-unstable-tests

Conversation

@troglobit

Copy link
Copy Markdown
Contributor

This PR addresses issue #151 which broke Infix v23.09.

  • Update the minimal defconfig used by regression tests, e.g., add Python
  • Add MTU configuration support and fix IPv6 MTU support in operational data
  • Drop MTU deviation (not-supported), root cause of Operational status broken in v23.09 #151

We should really drop minimal defconfig entirely, see issue #127.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Setting the link MTU in Linux changes the sysctl IPV6 MTU, so we have to
set the IPv6 MTU on each run in case the IPv4 MTU changes.  Hence, this
also means the IPv6 MTU must be set *after* the IPv4 (link) MTU.

statd has been updated to read the sysctl setting for IPv6 MTU.

Notice how the loopback interface is unsupported for config + status.

Fixes issue #151

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit added this to the Infix v23.10 milestone Oct 2, 2023
@troglobit
troglobit requested review from rical and wkz October 2, 2023 15:02

@rical rical left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@troglobit
troglobit removed the request for review from wkz October 3, 2023 08:45
@troglobit
troglobit merged commit d8494e3 into main Oct 3, 2023
@troglobit
troglobit deleted the fix-unstable-tests branch October 3, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants