On Mon, Nov 26, 2007 at 09:02:08PM +0100, Johannes Berg wrote: > sungem's gem_reset_task() will unconditionally try to disable NAPI even > when it's called while the interface is not operating and hence the NAPI > struct isn't enabled. Make napi_disable() depend on gp->running. > > Also removes a superfluous test of gp->running in the same function. > > Signed-off-by: Johannes Berg <[EMAIL PROTECTED]>
Patch applied to net-2.6. Thanks Johannes! -- 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