netdev
[Top] [All Lists]

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

To: netdev@xxxxxxxxxxx
Subject: Fw: [Bugme-new] [Bug 4158] New: bridge always takes the mac i don't want
From: Andrew Morton <akpm@xxxxxxxx>
Date: Thu, 3 Feb 2005 17:17:58 -0800
Cc: kernel26@xxxxxxxxxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx

Begin forwarded message:

Date: Thu, 3 Feb 2005 16:59:05 -0800
From: bugme-daemon@xxxxxxxx
To: bugme-new@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
         Submitter: kernel26@xxxxxxxxxxxxxxxxxxxxxxx


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.

<Prev in Thread] Current Thread [Next in Thread>
  • Fw: [Bugme-new] [Bug 4158] New: bridge always takes the mac i don't want, Andrew Morton <=