[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 398c982..29fed6e 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;