Files
unkernel/kernel/patches
chungchihhan 6a6a0e396c Enable Docker IPv4 bridge networking in Debian guests (#59)
* Enable Docker IPv4 bridge networking in Debian guests

* kernel: leave out the netfilter and bridge defaults Docker does not use

NETFILTER_INGRESS and NETFILTER_EGRESS (hooks for nft's netdev family,
which is not built), NF_CT_PROTO_SCTP and BRIDGE_IGMP_SNOOPING come on
by default with the options the Docker bridge needs; turning them off
saves 78,289 bytes of vmlinux32.wasm (25,917 bytes gzip). Re-export the
series: 0049, 0052 and 0055 carried index lines for the old
kw_defconfig.

* kernel: fix the conntrack hash size at 1024 buckets

Built-in conntrack allocates its hash table and the NAT bysource table,
which takes the same size, at boot also without rules, sized from RAM:
512 KiB each above 1 GiB, as on the page's 2 GiB default. A new generic
patch adds NF_CONNTRACK_HASHSIZE; kw_defconfig sets it to 1024, 8 KiB
per table, with nf_conntrack_max 8192. A 2 GiB guest keeps about 940 KiB
more free after boot.

---------

Co-authored-by: Pooya Parsa <pooya@pi0.io>
2026-11-28 20:04:04 +01:00
..
2026-11-15 23:27:04 +00:00