FreeBSD Bugzilla – Attachment 200199 Details for
Bug 233535
Fix refcount leak in IPv6 MLD code leading to loss of IPv6 connectivity
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix missing decrement of refcount in IPv6 code.
refcount.diff (text/plain), 813 bytes, created by
Hans Petter Selasky
on 2018-12-17 14:43:21 UTC
(
hide
)
Description:
Fix missing decrement of refcount in IPv6 code.
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2018-12-17 14:43:21 UTC
Size:
813 bytes
patch
obsolete
>Index: sys/netinet6/in6_mcast.c >=================================================================== >--- sys/netinet6/in6_mcast.c (revision 342073) >+++ sys/netinet6/in6_mcast.c (working copy) >@@ -632,6 +632,8 @@ > i6mm_chain, imm_tmp) { > if (inm == imm->i6mm_maddr) { > LIST_REMOVE(imm, i6mm_chain); >+ inm->in6m_refcount--; >+ MPASS(inm->in6m_refcount > 0); > free(imm, M_IP6MADDR); > } > } >Index: sys/netinet6/mld6.c >=================================================================== >--- sys/netinet6/mld6.c (revision 342073) >+++ sys/netinet6/mld6.c (working copy) >@@ -2004,6 +2004,7 @@ > if (mli->mli_version == MLD_VERSION_2 && > inm->in6m_state == MLD_LEAVING_MEMBER) { > inm->in6m_refcount--; >+ MPASS(inm->in6m_refcount > 0); > } > inm->in6m_state = MLD_REPORTING_MEMBER; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233535
:
200199
|
200658
|
200699
|
200753
|
200887
|
200956
|
201125
|
201210
|
201211
|
201212
|
201220
|
201221
|
201228