| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] bridge (2.6.5) -- correctl handle up to 256 ports per bridge |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Thu, 1 Apr 2004 14:13:46 -0800 |
| Cc: | weeti@xxxxxx, bridge@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040401135746.0f985897@xxxxxxxxxxxxxxxxxxxxx> |
| References: | <406B251B.9050907@xxxxxx> <20040401093618.49cca9fa@xxxxxxxxxxxxxxxxxxxxx> <406CA0D7.6020500@xxxxxx> <20040401135746.0f985897@xxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 1 Apr 2004 13:57:46 -0800 Stephen Hemminger <shemminger@xxxxxxxx> wrote: > Bridge code is limited to 256 ports per bridge because the Spanning > Tree Protocol has limit of one octet for port number. This code > fixes: > * bogus unlock in error path when port list is full. > * passes different error status for out of memory, vs > port list full. > * O(n) vs O(n^2) lookup for free port number > * since port and priority are both limited to one byte > don't store them as int's > * makes limit explicit in code Applied, thanks Stephen. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] bridge (2.6.5) -- correctl handle up to 256 ports per bridge, Stephen Hemminger |
|---|---|
| Next by Date: | [TIGON3]: Driver test update, David S. Miller |
| Previous by Thread: | [PATCH] bridge (2.6.5) -- correctl handle up to 256 ports per bridge, Stephen Hemminger |
| Next by Thread: | [TIGON3]: Driver test update, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |