On Thu, Jan 10, 2008 at 04:03:53PM -0500, Andy Gospodarek wrote: > > > >Sure, but where do you call that function while holding the bond lock? > > > > If I recall correctly, the problem was that tg3, et al, did > > things that might sleep, and bonding was calling from a timer context, > > which couldn't sleep. It wasn't about the lock. > > Exactly, I was just about to post the same.
In other words, changing read_lock on bond->lock to read_lock_bh doesn't affect this one bit. 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