提交 e80e28b6 编写于 作者: A Al Viro

[PATCH] net/ipv6/mcast.c NULL noise removal

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 bee14e1f
...@@ -1978,7 +1978,7 @@ static int sf_setstate(struct ifmcaddr6 *pmc) ...@@ -1978,7 +1978,7 @@ static int sf_setstate(struct ifmcaddr6 *pmc)
new_in = psf->sf_count[MCAST_INCLUDE] != 0; new_in = psf->sf_count[MCAST_INCLUDE] != 0;
if (new_in) { if (new_in) {
if (!psf->sf_oldin) { if (!psf->sf_oldin) {
struct ip6_sf_list *prev = 0; struct ip6_sf_list *prev = NULL;
for (dpsf=pmc->mca_tomb; dpsf; for (dpsf=pmc->mca_tomb; dpsf;
dpsf=dpsf->sf_next) { dpsf=dpsf->sf_next) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册