lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 29 Mar 2007 20:41:19 +0200
From:	"Marcin Ĺšlusarz" <marcin.slusarz@...il.com>
To:	Shani <shani.moideen@...ro.com>
Cc:	philb@....org, alan@...hat.com, netdev@...r.kernel.org,
	kernel-janitors@...l.org, jeff@...zik.org
Subject: Re: [KJ] Patch:replace with time_after in drivers/net/eexpress.c

2007/3/28, Shani <shani.moideen@...ro.com>:
> @@ -1650,7 +1651,7 @@ eexp_set_multicast(struct net_device *dev)
>  #endif
>                  oj = jiffies;
>                  while ((SCB_CUstat(scb_status(dev)) == 2) &&
> -                       ((jiffies-oj) < 2000));
> +                       (time_after(jiffies, oj + 2000)));
>                 if (SCB_CUstat(scb_status(dev)) == 2)
>                         printk("%s: warning, CU didn't stop\n", dev->name);
>                  lp->started &= ~(STARTED_CU);
>
it should be time_before, not time_after...
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists