On Thu, May 10, 2007 at 07:56:02PM +0530, Krishna Kumar2 wrote:
>
> Herbert,
>
> - while (qdisc_restart(dev) < 0 && !netif_queue_stopped(dev))
> - /* NOTHING */;
> + do {
> + if (!qdisc_restart(dev))
> + break;
> + } while (!netif_queue_stopped(dev));
>
> This could be changed to old format, if required :
>
> + while (qdisc_restart(dev)) && !netif_queue_stopped(dev))
> + /* NOTHING */;
Actually I deliberately changed it so that it's slightly clearer.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html