FreeBSD Bugzilla – Attachment 163681 Details for
Bug 204831
mld_v2 listener report does not report all active groups to the router
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for stable/9 (untested)
mld9.diff (text/plain), 846 bytes, created by
Andrey V. Elsukov
on 2015-11-30 10:35:39 UTC
(
hide
)
Description:
Proposed patch for stable/9 (untested)
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2015-11-30 10:35:39 UTC
Size:
846 bytes
patch
obsolete
>Index: mld6.c >=================================================================== >--- mld6.c (revision 290768) >+++ mld6.c (working copy) >@@ -2989,6 +2989,15 @@ mld_v2_dispatch_general_query(struct mld_ifinfo *m > KASSERT(mli->mli_version == MLD_VERSION_2, > ("%s: called when version %d", __func__, mli->mli_version)); > >+ /* >+ * Check that there are some packets queued. If so, send them first. >+ * For large number of groups the reply to general query can take >+ * many packets, we should finish sending them before starting of >+ * queuing the new reply. >+ */ >+ if (mli->mli_gq.ifq_head != NULL) >+ goto send; >+ > ifp = mli->mli_ifp; > > IF_ADDR_RLOCK(ifp); >@@ -3024,6 +3033,7 @@ mld_v2_dispatch_general_query(struct mld_ifinfo *m > } > IF_ADDR_RUNLOCK(ifp); > >+send: > mld_dispatch_queue(&mli->mli_gq, MLD_MAX_RESPONSE_BURST); > > /*
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 204831
:
163558
|
163679
| 163681