提交 9c05989b 编写于 作者: D David S. Miller

[IPV6]: Fix warning in ip6_mc_msfilter.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 84b42bae
...@@ -509,6 +509,7 @@ int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf) ...@@ -509,6 +509,7 @@ int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf)
return -ENODEV; return -ENODEV;
dev = idev->dev; dev = idev->dev;
err = 0;
if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) { if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) {
leavegroup = 1; leavegroup = 1;
goto done; goto done;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册