patch-2.4.19 linux-2.4.19/drivers/char/ip2/i2lib.c

Next file: linux-2.4.19/drivers/char/isicom.c
Previous file: linux-2.4.19/drivers/char/indydog.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/char/ip2/i2lib.c linux-2.4.19/drivers/char/ip2/i2lib.c
@@ -1330,7 +1330,7 @@
 
 	// if expires == 0 then timer poped, then do not need to del_timer
 	if ((timeout > 0) && pCh->BookmarkTimer.expires && 
-				(pCh->BookmarkTimer.expires > jiffies)) {
+	                     time_before(jiffies, pCh->BookmarkTimer.expires)) {
 		del_timer( &(pCh->BookmarkTimer) );
 		pCh->BookmarkTimer.expires = 0;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)