| To: | Matt Mackall <mpm@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] support for large number of network devices. |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Wed, 14 Jan 2004 11:37:34 -0800 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040114071303.GG28521@xxxxxxxxx> |
| Organization: | Open Source Development Lab |
| References: | <20040113154610.38f5934c.shemminger@xxxxxxxx> <20040113155921.342db463.davem@xxxxxxxxxx> <20040113161303.20f1159d.shemminger@xxxxxxxx> <20040114071303.GG28521@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
> Unfortunately sscanf("eth0-not-allocated", "eth%d", &i) fools it.
> Which may or may not be worth worrying about.
Hmmm, the old code would have assigned "eth0" in that case, new code
would assign "eth1". Other difference is in the case of whitespace.
scanf("white space0", "white space%d", &i)
because any whitespace matches multiple whitespace characters.
Is it worth making a separate explicit match routine?
|
| Previous by Date: | Re: [PATCH|RFC] IPv6: have a proxy discard link-local traffic, Ville Nuorvala |
|---|---|
| Next by Date: | Re: [PATCH] support for large number of network devices., Matt Mackall |
| Previous by Thread: | Re: [PATCH] support for large number of network devices., Matt Mackall |
| Next by Thread: | Re: [PATCH] support for large number of network devices., Matt Mackall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |