lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG-2HqU2f+4i3ttLSeitwr15=cVyin9VT+UrQvKC9pMV04fW7Q@mail.gmail.com>
Date:	Mon, 21 Apr 2014 22:56:15 +0200
From:	Tom Gundersen <teg@...m.no>
To:	netdev <netdev@...r.kernel.org>,
	bridge <bridge@...ts.linux-foundation.org>
Cc:	"C. R. Oldham" <cr@...tstack.com>
Subject: Re: [BUG?] bridge_id not getting set for bridges created with

On Mon, Apr 21, 2014 at 9:33 PM, Tom Gundersen <teg@...m.no> wrote:
> Hi,
>
> If IFLA_ADDRESS is set when creating a bridge over netlink, e.g.
>
> # ip link add test-bridge address b6:83:a2:b3:2f:0e type bride
>
> the bridge id is not set:
>
> # brctl show
> bridge name    bridge id        STP enabled    interfaces
> bridge1        8000.000000000000    no

My example was incomplete. To see the bug one should of course first
add an interface to the bridge:

# brctl addif bridge1 eth0


and observe that the bridge id remains unset:

# brctl show
bridge name    bridge id        STP enabled    interfaces
bridge1        8000.000000000000    no            eth0



If bridge1 had been created without specifying the mac address the
result is as expected:

# brctl show
bridge name    bridge id        STP enabled    interfaces
bridge1        8000.28d244547cdb    no            eth0

Cheers,

Tom
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ