diff options
Diffstat (limited to 'pimd/pim_igmpv3.c')
| -rw-r--r-- | pimd/pim_igmpv3.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_igmpv3.c b/pimd/pim_igmpv3.c index 15078dd1ec..96f97f1d12 100644 --- a/pimd/pim_igmpv3.c +++ b/pimd/pim_igmpv3.c @@ -355,6 +355,7 @@ void igmp_source_delete(struct gm_source *source)  	source_timer_off(group, source);  	igmp_source_forward_stop(source); +	source->source_channel_oil = NULL;  	/* sanity check that forwarding has been disabled */  	if (IGMP_SOURCE_TEST_FORWARDING(source->source_flags)) { @@ -371,8 +372,6 @@ void igmp_source_delete(struct gm_source *source)  		/* warning only */  	} -	source_channel_oil_detach(source); -  	/*  	  notice that listnode_delete() can't be moved  	  into igmp_source_free() because the later is  | 
