| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Patch: Make linkwatch more robust against rtnl holders |
| From: | Stefan Rompf <srompf@xxxxxx> |
| Date: | Sun, 15 Feb 2004 15:11:47 +0100 |
| Cc: | davem@xxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.6.1 |
Hi David, the attached patch updates the linkwatch code so that it backs off and retries whenever it cannot get the rtnl semaphore. This makes it more robust against unrelated processes calling flush_scheduled_work() while holding the rtnl lock. This problem was reported on netdev for the sungem driver. I preferred rescheduling every 1/10 second against creating a kernel thread as the code is shorter, and the situation should not happen anyway. Stefan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Patch: netif_carrier_on()/off() for xircom_tulip_cb, Stefan Rompf |
|---|---|
| Next by Date: | Re: [PATCH] Fix checksum bug for multicast/broadcast packets on postrouting hook, James Morris |
| Previous by Thread: | Patch: netif_carrier_on()/off() for xircom_tulip_cb, Stefan Rompf |
| Next by Thread: | Re: Patch: Make linkwatch more robust against rtnl holders, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |