[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090226.020318.50178027.davem@davemloft.net>
Date: Thu, 26 Feb 2009 02:03:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rini@...oo.nl
Cc: Linuxppc-dev@...abs.org, netdev@...r.kernel.org,
afleming@...escale.com
Subject: Re: [PATCH net] gianfar : Do right check on num_txbdfree
From: Rini van Zetten <rini@...oo.nl>
Date: Thu, 26 Feb 2009 09:56:58 +0100
> This patch fixes a wrong check on num_txbdfree. It could lead to
> num_txbdfree become nagative. Result was that the gianfar stops
> sending data.
>
> Signed-off-by: Rini van Zetten <rini at arvoo dot nl
Please use rini@...oo.nl in your signoffs, you cannot
hide on the inna-net.
> - if (nr_frags > priv->num_txbdfree) {
> + if ( (nr_frags+1) > priv->num_txbdfree) {
Please don't put a space between the parens there "( (", like
that.
--
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