Commit 9c05989b authored by David S. Miller's avatar David S. Miller

[IPV6]: Fix warning in ip6_mc_msfilter.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 84b42bae
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment