[PATCH] net/ipv6/mcast.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
bee14e1f8a
commit
e80e28b6b6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue