projects/linux·commit 9c05989b

[IPV6]: Fix warning in ip6_mc_msfilter.

9c05989b · David S. Miller <[email protected]> · 2005-07-08 21:44:39 -07:00

Signed-off-by: David S. Miller <[email protected]>
Commit
9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d
Parents
84b42bae

Changes

1 files changed · +1 −0

FileStatusAddDelContent
net/ipv6/mcast.cmodified+1−0View file

net/ipv6/mcast.c

View file
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 398c982..29fed6e 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;