Re: net_tx_action race condition?

2018-03-28 Thread Eric Dumazet
On 03/28/2018 12:30 AM, Saurabh Kr wrote: > Hi Eric/Angelo, >   > We are seeing the assertion error  in linux kernel 2.4.29  “*kernel: KERNEL: > assertion (atomic_read(&skb->users) == 0) failed at dev.c(1397)**”.* Based on > patch provided (_https://patchwork.kernel.org/patch/5368051/_ ) we mer

Re: net_tx_action race condition?

2014-11-24 Thread Angelo Rizzi
Hi Eric, Thanks for your reply You are right, it seems a bug in the NIOS2 architecture port. I will check how local_irq_disable()/local_irq_enable() is implemented on this kind of architecture. Regards, Angelo Il 24/11/2014 16:33, Eric Dumazet ha scritto: On Mon, 2014-11-24 at 14:29 +0100, An

Re: net_tx_action race condition?

2014-11-24 Thread Eric Dumazet
On Mon, 2014-11-24 at 14:29 +0100, Angelo Rizzi wrote: > Hi Daniel, > Here attached the patch file you required. > The problem i've found is on the declaration of 'struct softnet_data > *sd' in function 'net_tx_action' > What happens to me (i have an embedded system based on FPGA and a NIOS2 > cp