Re: [RTnet-developers] race condition in e1000_xmit_frame ?
Brought to you by:
bet-frogger,
kiszka
|
From: Jan K. <jan...@we...> - 2008-12-29 15:40:49
|
Frederik Bayart wrote: > By releasing the lock after the e1000_tx_queue command, my problem was > solved. > > e1000_tx_queue(adapter, tx_ring, tx_flags, > e1000_tx_map(adapter, tx_ring, skb, first, > max_per_txd, nr_frags, mss), > skb->xmit_stamp); > rtdm_lock_put_irqrestore(&tx_ring->tx_lock, context); OK, thanks for reporting this issue and suggesting a fix. You can finally find a patched version in SVN (#1197). Because e1000_xmit_frame now calls e1000_tx_queue with IRQs disabled, I also dropped the IRQ disabling from the latter. Jan |