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] [day] [month] [year] [list]
Date:   Tue, 29 Nov 2016 12:49:17 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Zhang Shengju <zhangshengju@...s.chinamobile.com>
Cc:     netdev@...r.kernel.org
Subject: Re: [iproute2] iproute2: fix the link group name getting error

On Fri, 18 Nov 2016 09:12:53 +0800
Zhang Shengju <zhangshengju@...s.chinamobile.com> wrote:

> In the situation where more than one entry live in the same hash bucket,
> loop to get the correct one.
> 
> Before:
> $ cat /etc/iproute2/group
> 0	default
> 256     test
> 
> $ sudo ip link set group test dummy1
> 
> $ ip link show type dummy
> 11: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group 0 qlen 1000
>     link/ether 4e:3b:d3:6c:f0:e6 brd ff:ff:ff:ff:ff:ff
> 12: dummy1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group test qlen 1000
>     link/ether d6:9c:a4:1f:e7:e5 brd ff:ff:ff:ff:ff:ff
> 
> After:
> $ ip link show type dummy
> 11: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
>     link/ether 4e:3b:d3:6c:f0:e6 brd ff:ff:ff:ff:ff:ff
> 12: dummy1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group test qlen 1000
>     link/ether d6:9c:a4:1f:e7:e5 brd ff:ff:ff:ff:ff:ff
> 
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>

Applied, and queued for next push.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ