Skip to content

Conversation

@rlmenge
Copy link
Contributor

@rlmenge rlmenge commented Jan 7, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

This PR enables Linux XFRM interfaces to allow creating xfrmN devices for IPsec policy routing and namespace/VRF separation. It turns on CONFIG_XFRM_INTERFACE in the kernel config (module autoloads on use). No behavior change by default; it simply unlocks IPsec scenarios that require if_id steering.

Impact: none for existing users; new capability for per-tenant/VRF IPsec paths

Change Log
  • enable CONFIG_XFRM_INTERFACE, build/install module
Does this affect the toolchain?

YES

Associated issues
Test Methodology

x86

*** Smoke Testing Kernel 6.6.119.3-2.azl3 (est. < 1 min) ***
OS Version: NAME="Microsoft Azure Linux"
VERSION="3.0.20251206"
ID=azurelinux
VERSION_ID="3.0"
PRETTY_NAME="Microsoft Azure Linux 3.0"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/azurelinux"
BUG_REPORT_URL="https://aka.ms/azurelinux"
SUPPORT_URL="https://aka.ms/azurelinux"
PASS: Kernel version matches the running kernel version.
PASS: eth0 interface is up.
PASS: iptables service is running.
Boot times:
Startup finished in 4.272s (kernel) + 1.758s (initrd) + 7.052s (userspace) = 13.083s 
graphical.target reached after 6.670s in userspace.
Kernel size:
-rw------- 1 root root 15122432 Jan  8 00:00 /boot/vmlinuz-6.6.119.3-2.azl3
34932	/lib/modules/6.6.119.3-2.azl3
kernel memory:
MemTotal:       65951308 kB
MemFree:        65332560 kB
MemAvailable:   65082144 kB
Total memory:
               total        used        free      shared  buff/cache   available
Mem:           64405         848       63800           0         145       63556
Swap:              0           0           0

Arm64

*** Smoke Testing Kernel 6.6.119.3-2.azl3 (est. < 1 min) ***
OS Version: NAME="Microsoft Azure Linux"
VERSION="3.0.20251206"
ID=azurelinux
VERSION_ID="3.0"
PRETTY_NAME="Microsoft Azure Linux 3.0"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/azurelinux"
BUG_REPORT_URL="https://aka.ms/azurelinux"
SUPPORT_URL="https://aka.ms/azurelinux"
PASS: Kernel version matches the running kernel version.
PASS: eth0 interface is up.
PASS: iptables service is running.
Boot times:
Startup finished in 1.285s (kernel) + 1.276s (initrd) + 6.113s (userspace) = 8.676s 
graphical.target reached after 5.872s in userspace.
Kernel size:
-rw------- 1 root root 48781824 Jan  8 00:09 /boot/vmlinuz-6.6.119.3-2.azl3
56792	/lib/modules/6.6.119.3-2.azl3
kernel memory:
MemTotal:       32797736 kB
MemFree:        32277440 kB
MemAvailable:   32114728 kB
Total memory:
               total        used        free      shared  buff/cache   available
Mem:           32029         667       31520           0         141       31362
Swap:              0           0           0

@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging specs-extended PR to fix SPECS-EXTENDED 3.0-dev PRs Destined for AzureLinux 3.0 labels Jan 7, 2026
@rlmenge rlmenge marked this pull request as ready for review January 12, 2026 19:14
@rlmenge rlmenge requested review from a team as code owners January 12, 2026 19:14
@rlmenge rlmenge force-pushed the rlmenge/kernel/XFRM_INTERFACE-PR branch from 70a6123 to d47875e Compare January 16, 2026 18:52
Copy link
Contributor

@christopherco christopherco left a comment

Choose a reason for hiding this comment

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

:shipit:

@christopherco christopherco merged commit 5e5723d into 3.0-dev Jan 16, 2026
29 of 32 checks passed
@christopherco christopherco deleted the rlmenge/kernel/XFRM_INTERFACE-PR branch January 16, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants