Commit 76edc605 authored by Al Viro's avatar Al Viro

[PATCH] ipv4 NULL noise removal

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e110ab94
...@@ -1578,7 +1578,7 @@ static int sf_setstate(struct ip_mc_list *pmc) ...@@ -1578,7 +1578,7 @@ static int sf_setstate(struct ip_mc_list *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 ip_sf_list *prev = 0; struct ip_sf_list *prev = NULL;
for (dpsf=pmc->tomb; dpsf; dpsf=dpsf->sf_next) { for (dpsf=pmc->tomb; dpsf; dpsf=dpsf->sf_next) {
if (dpsf->sf_inaddr == psf->sf_inaddr) if (dpsf->sf_inaddr == psf->sf_inaddr)
......
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