FreeBSD Bugzilla – Attachment 211583 Details for
Bug 244002
Kernel panic while trying to read multicast stream
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to solve problem
multicast.diff (text/plain), 1.28 KB, created by
Hans Petter Selasky
on 2020-02-12 09:11:21 UTC
(
hide
)
Description:
Patch to solve problem
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2020-02-12 09:11:21 UTC
Size:
1.28 KB
patch
obsolete
>Index: sys/net/netisr.c >=================================================================== >--- sys/net/netisr.c (revision 357779) >+++ sys/net/netisr.c (working copy) >@@ -1056,6 +1056,8 @@ netisr_queue_src(u_int proto, uintptr_t source, st > if (m != NULL) { > KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, > cpuid)); >+ VNET_ASSERT(m->m_pkthdr.rcvif != NULL, >+ ("%s:%d rcvif == NULL: m=%p", __func__, __LINE__, m)); > error = netisr_queue_internal(proto, m, cpuid); > } else > error = ENOBUFS; >Index: sys/netinet/igmp.c >=================================================================== >--- sys/netinet/igmp.c (revision 357779) >+++ sys/netinet/igmp.c (working copy) >@@ -303,6 +303,7 @@ igmp_save_context(struct mbuf *m, struct ifnet *if > #ifdef VIMAGE > m->m_pkthdr.PH_loc.ptr = ifp->if_vnet; > #endif /* VIMAGE */ >+ m->m_pkthdr.rcvif = ifp; > m->m_pkthdr.flowid = ifp->if_index; > } > >Index: sys/netinet6/mld6.c >=================================================================== >--- sys/netinet6/mld6.c (revision 357779) >+++ sys/netinet6/mld6.c (working copy) >@@ -283,6 +283,7 @@ mld_save_context(struct mbuf *m, struct ifnet *ifp > #ifdef VIMAGE > m->m_pkthdr.PH_loc.ptr = ifp->if_vnet; > #endif /* VIMAGE */ >+ m->m_pkthdr.rcvif = ifp; > m->m_pkthdr.flowid = ifp->if_index; > } >
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 244002
:
211509
|
211529
|
211530
|
211532
| 211583