patch-2.2.0-pre1 linux/net/appletalk/aarp.c

Next file: linux/net/appletalk/ddp.c
Previous file: linux/mm/page_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/net/appletalk/aarp.c linux/net/appletalk/aarp.c
@@ -294,7 +294,7 @@
 	while((*n)!=NULL)
 	{
 		/* Expired ? */
-		if((*n)->expires_at < jiffies)
+		if(time_after(jiffies, (*n)->expires_at))
 		{
 			t= *n;
 			*n=(*n)->next;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov