aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 398c982625f8..29fed6e58d0a 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)
509 return -ENODEV; 509 return -ENODEV;
510 dev = idev->dev; 510 dev = idev->dev;
511 511
512 err = 0;
512 if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) { 513 if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) {
513 leavegroup = 1; 514 leavegroup = 1;
514 goto done; 515 goto done;