> @@ -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_flags & MAF_GSQUERY) && !psf->sf_gsresp))
> {
> +                       if (pmc->mca_sfmode == MCAST_INCLUDE)
> +                               return 1;
> +                       /* don't include if this source is excluded
> +                        * in all filters
> +                        */
> +                       if (pmc->mca_sfcount[MCAST_INCLUDE])
> +                               return 0;
> +                       return pmc->mca_sfcount[MCAST_EXCLUDE] ==
> +                               psf->sf_count[MCAST_EXCLUDE];
> +               }
> +               return 0;
>         case MLD2_CHANGE_TO_INCLUDE:
>                 if (gdeleted || sdeleted)
>                         return 0;

Change "if (pmc->mca_sfcount[MCAST_INCLUDE])" to "if
(psf->sf_count[MCAST_INCLUDE])" ?

Best Regards
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to