patch-1.3.81 linux/net/ipv4/igmp.c
Next file: linux/net/ipv4/ip_forward.c
Previous file: linux/net/ipv4/arp.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Mar 30 13:20:34 1996
- Orig file:
v1.3.80/linux/net/ipv4/igmp.c
- Orig date:
Wed Feb 21 08:33:26 1996
diff -u --recursive --new-file v1.3.80/linux/net/ipv4/igmp.c linux/net/ipv4/igmp.c
@@ -517,15 +517,14 @@
{
if((*i)->multiaddr==addr)
{
- if(--((*i)->users))
- return;
- else
+ if(--((*i)->users) == 0)
{
struct ip_mc_list *tmp= *i;
igmp_group_dropped(tmp);
*i=(*i)->next;
kfree_s(tmp,sizeof(*tmp));
}
+ return;
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this