]> err.no Git - linux-2.6/commitdiff
[IPV6]: Fix warning in ip6_mc_msfilter.
authorDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2005 04:44:39 +0000 (21:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2005 04:44:39 +0000 (21:44 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c

index 398c982625f831241492b728ae27ed615b6b761f..29fed6e58d0aa631c19d55c967d0bb9ff909c5f4 100644 (file)
@@ -509,6 +509,7 @@ int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf)
                return -ENODEV;
        dev = idev->dev;
 
+       err = 0;
        if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) {
                leavegroup = 1;
                goto done;