Fw: [Bugme-new] [Bug 4158] New: bridge always takes the mac i don't want

From: Andrew Morton <hidden>
Date: 2005-02-04 01:17:58


Begin forwarded message:

Date: Thu, 3 Feb 2005 16:59:05 -0800
From: bugme-daemon@osdl.org
To: bugme-new@lists.osdl.org
Subject: [Bugme-new] [Bug 4158] New: bridge always takes the mac i don't want


http://bugme.osdl.org/show_bug.cgi?id=4158

           Summary: bridge always takes the mac i don't want
    Kernel Version: 2.4+
            Status: NEW
          Severity: normal
             Owner: acme@conectiva.com.br
         Submitter: kernel26@dush.student.utwente.nl


Problem Description:
in some situations your bridge needs to take the mac address of one certain 
interface. in my case the isp checks my mac address. currently it is not 
possible to choose which mac the bridge takes.
i changed the code somewhat to make it possible to choose the mac of the bridge 
by changing the order in which you add interfaces to the bridge. please 
consider changing this in the kernel.

code: net/bridge/br_stp_if.c:156
  if (addr == br_mac_zero ||
      memcmp(p->dev->dev_addr, addr, ETH_ALEN) < 0)
    addr = p->dev->dev_addr;
 
please change it to:
  if (addr == br_mac_zero)
    addr = p->dev->dev_addr;

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help