[PATCH] fix multiple issues in MLDv2 reports [modified]

2005-12-15 Thread David Stevens
[revised patch to fix "is_in()" sfcount typo - thanks to Yan Zheng] Dave, I tested these together, but let me know if you want me to split these into a few pieces, though they'll probably conflict with each other. :-) The below "jumbo" patch fixes the following problems in MLDv2. 1) Add n

Re: [PATCH] fix multiple issues in MLDv2 reports

2005-12-15 Thread David Stevens
> Change "if (pmc->mca_sfcount[MCAST_INCLUDE])" to "if > (psf->sf_count[MCAST_INCLUDE])" ? Yes, good catch! I'll re-roll and resubmit. +-DLS - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EM

Re: [PATCH] fix multiple issues in MLDv2 reports

2005-12-15 Thread Yan Zheng
> @@ -1281,7 +1345,18 @@ static int is_in(struct ifmcaddr6 *pmc, > case MLD2_MODE_IS_EXCLUDE: > if (gdeleted || sdeleted) > return 0; > - return !((pmc->mca_flags & MAF_GSQUERY) && > !psf->sf_gsresp); > + if (!((pmc->mca_fl

[PATCH] fix multiple issues in MLDv2 reports

2005-12-14 Thread David Stevens
Dave, I tested these together, but let me know if you want me to split these into a few pieces, though they'll probably conflict with each other. :-) The below "jumbo" patch fixes the following problems in MLDv2. 1) Add necessary "ntohs" to recent "pskb_may_pull" check [breaks all