[Bridge] Re: [PATCH] bridge (2.6.5) -- correctl handle up to 256 ports per bridge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux