1 Apr 2009 01:01
Re: [PATCH 1/2 V2] kaweth: Fix locking to be SMP-safe
Larry Finger <Larry.Finger <at> lwfinger.net>
2009-03-31 23:01:19 GMT
2009-03-31 23:01:19 GMT
Oliver Neukum wrote: > Am Dienstag 31 März 2009 20:45:49 schrieb Larry Finger: >> On an SMP system, the following message is printed. The patch below gets >> fixes the problem. > > Are you sure it is never called with disabled interrupts? I think not, but all I really know is that the change from spin_lock() to spin_lock_irq() makes the errors go away. I checked a number of drivers to see what their ndo_start_xmit routines do. Most use spin_lock_irq(), but some do no locking. I tried removing the locking, but that resulted in a stall even when I bypassed the faulty router. Larry
RSS Feed