Re: [PATCH] r8169: don't call napi_disable if not doing NAPI

From: Romano Giannetti
Date: Mon Oct 29 2007 - 04:57:00 EST



On Fri, 2007-10-26 at 11:33 -0700, Stephen Hemminger wrote:
> Don't call napi_disable if not configured.
> And make sure that any misuse of napi_xxx in future fails
> with a compile error.
>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
>

This fix the problem for me (at least, after 8 suspend/resume cycles).
Thanks.

Tested-by: Romano Giannetti <romano.giannetti@xxxxxxxxx>

--
Sorry for the disclaimer --- ÂI cannot stop it!



--
La presente comunicaciÃn tiene carÃcter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribuciÃn, reproducciÃn o uso de esta comunicaciÃn y/o de la informaciÃn contenida en la misma estÃn estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicaciÃn por error, por favor, notifÃquelo inmediatamente al remitente contestando a este mensaje y proceda a continuaciÃn a destruirlo. Gracias por su colaboraciÃn.

This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/