Re: sleeping in dev->tx_timeout?

From: Zwane Mwaikambo (zwane@arm.linux.org.uk)
Date: Sun Aug 03 2003 - 14:10:56 EST


On Sun, 3 Aug 2003, Abraham van der Merwe wrote:

> Hi!
>
> Is it safe to sleep in tx_timeout (in the networking code), i.e. to call
> schedule_timeout and friends from that routine?

No it's called from softirq context and with the dev->xmit_lock held in
places.

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:21 EST