Summary: | [patch] netinet/netinet6: missing curly braces in inm_merge/in6m_merge | ||
---|---|---|---|
Product: | Base System | Reporter: | Enji Cooper <ngie> |
Component: | kern | Assignee: | Enji Cooper <ngie> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | ae, bms |
Priority: | --- | Keywords: | patch |
Version: | CURRENT | Flags: | ngie:
mfc-stable11+
ngie: mfc-stable10+ |
Hardware: | Any | ||
OS: | Any |
Description
Enji Cooper
![]() ![]() The patch looks correct to me. (In reply to Andrey V. Elsukov from comment #1) Ok. Is the proposed message accurate, or could it be improved (I wrote it up based on a quick glance at the code -- it might not be accurate). Thanks! A commit references this bug: Author: ngie Date: Sat May 13 18:41:25 UTC 2017 New revision: 318255 URL: https://svnweb.freebsd.org/changeset/base/318255 Log: Add missing braces around MCAST_EXCLUDE check when KTR support is compiled into the kernel This ensures that .iss_asm (the number of ASM listeners) isn't incorrectly decremented for MLD-layer source datagrams when inspecting im*s_st[1] (the second state in the structure). MFC after: 2 months PR: 217509 [1] Reported by: Coverity (Isilon) Reviewed by: ae ("This patch looks correct to me." [1]) Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com> Sponsored by: Dell EMC Isilon Changes: head/sys/netinet/in_mcast.c head/sys/netinet6/in6_mcast.c A commit references this bug: Author: ngie Date: Tue Jul 18 16:58:53 UTC 2017 New revision: 321134 URL: https://svnweb.freebsd.org/changeset/base/321134 Log: MFC r318255: Add missing braces around MCAST_EXCLUDE check when KTR support is compiled into the kernel This ensures that .iss_asm (the number of ASM listeners) isn't incorrectly decremented for MLD-layer source datagrams when inspecting im*s_st[1] (the second state in the structure). PR: 217509 [1] Changes: _U stable/10/ stable/10/sys/netinet/in_mcast.c stable/10/sys/netinet6/in6_mcast.c A commit references this bug: Author: ngie Date: Tue Jul 18 16:58:55 UTC 2017 New revision: 321135 URL: https://svnweb.freebsd.org/changeset/base/321135 Log: MFC r318255: Add missing braces around MCAST_EXCLUDE check when KTR support is compiled into the kernel This ensures that .iss_asm (the number of ASM listeners) isn't incorrectly decremented for MLD-layer source datagrams when inspecting im*s_st[1] (the second state in the structure). PR: 217509 [1] Changes: _U stable/11/ stable/11/sys/netinet/in_mcast.c stable/11/sys/netinet6/in6_mcast.c |