Skip to content

kernel-6.12: convert netfilter modules from built-in to loadable#271

Merged
ginglis13 merged 1 commit intobottlerocket-os:developfrom
ginglis13:nf-modules
Sep 8, 2025
Merged

kernel-6.12: convert netfilter modules from built-in to loadable#271
ginglis13 merged 1 commit intobottlerocket-os:developfrom
ginglis13:nf-modules

Conversation

@ginglis13
Copy link
Copy Markdown
Contributor

Description of changes:

Change several IP and IPv6 netfilter components from built-in (=y) to loadable modules (=m). This reverts a change that was included in #269

Modified modules:

  • IP_NF_IPTABLES_LEGACY: legacy iptables support
  • IP_NF_FILTER: IPv4 packet filtering
  • IP_NF_MANGLE: IPv4 packet mangling
  • IP_NF_RAW: IPv4 raw table support
  • IP_NF_SECURITY: IPv4 security table support
  • IP6_NF_IPTABLES_LEGACY: legacy ip6tables support
  • IP6_NF_FILTER: IPv6 packet filtering
  • IP6_NF_MANGLE: IPv6 packet mangling
  • IP6_NF_RAW: IPv6 raw table support

Testing done:

make ARCH=x86_64 && make ARCH=aarch64

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Change several IP and IPv6 netfilter components from built-in (=y) to
loadable modules (=m).

Modified modules:
* IP_NF_IPTABLES_LEGACY: legacy iptables support
* IP_NF_FILTER: IPv4 packet filtering
* IP_NF_MANGLE: IPv4 packet mangling
* IP_NF_RAW: IPv4 raw table support
* IP_NF_SECURITY: IPv4 security table support
* IP6_NF_IPTABLES_LEGACY: legacy ip6tables support
* IP6_NF_FILTER: IPv6 packet filtering
* IP6_NF_MANGLE: IPv6 packet mangling
* IP6_NF_RAW: IPv6 raw table support

Signed-off-by: Gavin Inglis <giinglis@amazon.com>
# Enable CephFS SELinux labels
CONFIG_CEPH_FS_SECURITY_LABEL=y

# Include some IP/IPv6 Netfilter drivers as modules
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.

nit: There is an extra space here

Suggested change
# Include some IP/IPv6 Netfilter drivers as modules
# Include some IP/IPv6 Netfilter drivers as modules

@ginglis13 ginglis13 merged commit 0ecdccf into bottlerocket-os:develop Sep 8, 2025
2 checks passed
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.

4 participants