[Bridge] [PATCH] bridge: forwarding table information for >256 devices

David Miller davem at davemloft.net
Fri May 2 16:53:48 PDT 2008


From: Stephen Hemminger <shemminger at vyatta.com>
Date: Thu, 1 May 2008 13:42:09 -0700

> The forwarding table binary interface (my bad choice), only exposes the
> port number of the first 8 bits. The bridge code was limited to 256 ports
> at the time, but now the kernel supports up 1024 ports, so the upper bits
> are lost when doing:
>    brctl showmacs
> 
> The fix is to squeeze the extra bits into small hole left in data structure,
> to maintain binary compatiablity.
> 
> Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>

At least you had somewhere to stick the high bits :)

Applied, thanks.


More information about the Bridge mailing list