The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=72777e9bf6ad2dec0dadfaa5fe595536f17f7695
commit 72777e9bf6ad2dec0dadfaa5fe595536f17f7695 Author: Andrey V. Elsukov <[email protected]> AuthorDate: 2025-11-02 15:56:14 +0000 Commit: Colin Percival <[email protected]> CommitDate: 2025-11-05 19:36:29 +0000 mld6: Properly initialize MLD packet options After commit 530c2c30b0c7 we need to set flags to ensure that hop-by-hop and hop limit options are included. Approved by: re (cperciva) PR: 290407 Reviewed by: zlei, markj MFC after: 3 days Fixes: 530c2c30b0c7 ("ip6_output: Reduce cache misses on pktopts") (cherry picked from commit 5568fba657c260286b9f1f1e837ab83ef6ce572d) (cherry picked from commit 5c4144fe1f41b16368a3785b7edd6d2d70c24d1b) --- sys/netinet6/mld6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index a825658bd9ee..5dfe48908a4f 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -3267,6 +3267,7 @@ mld_init(void *unused __unused) mld_po.ip6po_hbh = &mld_ra.hbh; mld_po.ip6po_prefer_tempaddr = IP6PO_TEMPADDR_NOTPREFER; mld_po.ip6po_flags = IP6PO_DONTFRAG; + mld_po.ip6po_valid = IP6PO_VALID_HLIM | IP6PO_VALID_HBH; callout_init(&mldslow_callout, 1); callout_reset(&mldslow_callout, hz / MLD_SLOWHZ, mld_slowtimo, NULL);
