aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-07-08 21:44:39 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-08 21:44:39 -0700
commit9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d (patch)
treed0da2c6e210b47727097a77eefddfc7c3e2ea13e /net/ipv6
parent84b42baef775b0e3415ccece17cf694f50326d01 (diff)
[IPV6]: Fix warning in ip6_mc_msfilter.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/mcast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 398c982625f..29fed6e58d0 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -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;