From: Rini van Zetten <r...@arvoo.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 r...@arvoo.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. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev