| To: | Jay Vosburgh <fubar@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2.6.12-rc2] bonding: partially back out dev_set_mac_address |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 9 Apr 2005 10:31:08 +1000 |
| Cc: | davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, jgarzik@xxxxxxxxx |
| In-reply-to: | <20050409002137.GA21726@gondor.apana.org.au> |
| References: | <20050408221629.GA21125@gondor.apana.org.au> <200504082356.j38Ntr7k010144@death.nxdomain.ibm.com> <20050409002137.GA21726@gondor.apana.org.au> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
On Sat, Apr 09, 2005 at 10:21:37AM +1000, herbert wrote: > > Personally I'd rather we aimed for a proper solution that will be in > 2.6.13 since the current symptom is only a warning which doesn't > really hurt anyone. Actually there is another reason why we need to move the MAC setting to process context rather than simply patching up the rtnetlink code. The driver implementation for set_mac_address may well want to sleep since it needs to communicate with the hardware. In fact I just looked at some USB net drivers and the very first one (zd1201) wants to sleep in there badly :) So if you want a quick and dirty fix, why not make bonding call dev_set_mac_address from a work queue? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| Previous by Date: | Re: [PATCH 2.6.12-rc2] bonding: partially back out dev_set_mac_address, Herbert Xu |
|---|---|
| Next by Date: | [IPSEC] COW skb header in UDP decap, Herbert Xu |
| Previous by Thread: | Re: [PATCH 2.6.12-rc2] bonding: partially back out dev_set_mac_address, Herbert Xu |
| Next by Thread: | Re: [PATCH 2.6.12-rc2] bonding: partially back out dev_set_mac_address, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |