patch-2.2.0-pre1 linux/net/bridge/br.c
Next file: linux/net/ipv6/af_inet6.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Dec 23 09:44:42 1998
-  Orig file: 
v2.1.132/linux/net/bridge/br.c
-  Orig date: 
Tue Dec 22 14:16:59 1998
diff -u --recursive --new-file v2.1.132/linux/net/bridge/br.c linux/net/bridge/br.c
@@ -1539,7 +1539,7 @@
 		f->mcast_timer = jiffies;
 	else {
 		if(f->mcast_count > max_mcast_per_period) {
-			if(jiffies > (f->mcast_timer + mcast_hold_time))
+			if(time_after(jiffies, f->mcast_timer + mcast_hold_time))
 				f->mcast_count = 0;
 			else	return 1;
 		}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov