Thread (18 messages) read the whole thread 18 messages, 4 authors, 2008-06-23

Re: [PATCH] net: via-velocity.c fix sleep-with-spinlock bug during MTU change

From: Séguier Régis <hidden>
Date: 2008-06-18 22:09:27
Also in: lkml

Francois Romieu a écrit :
Séguier Régis [off-list ref] :
[...]
  
quoted
This correction seems to work.

I read somewhere pci_free_consistent (in velocity_free_dma_rings) couldn't 
be use in a spin_lock.
    
Yup.

  
quoted
When I move velocity_free_rings outside the spin_lock, error desappeare but 
data transfert doesn't work after the mtu change.
When I add velocity_give_many_rx_descs all work.
    
I have updated http://userweb.kernel.org/~romieu/via-velocity/2.6.26-rc6/
accordingly. Can you check whether it is fine or not ?

  
Patch 0001 doesn't work,

if I don't make a mistake skb->len is not modified in skb_pad{,to}when 
the padding is applied. In this case, we need to attribute ETH_ZLEN to len.

-- 
Régis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help