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: <20100804140012.577b2195@nehalam>
Date:	Wed, 4 Aug 2010 14:00:12 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	greearb@...il.com
Cc:	netdev@...r.kernel.org, Ben Greear <greearb@...delatech.com>
Subject: Re: [iproute2] iproute2:  Allow 'ip addr flush' to loop more than
 10 times.

On Mon, 28 Jun 2010 22:55:59 -0700
greearb@...il.com wrote:

> From: Ben Greear <greearb@...delatech.com>
> 
> The default remains at 10 for backwards compatibility.
> 
> For instance:
>  # ip addr flush dev eth2
>  *** Flush remains incomplete after 10 rounds. ***
>  # ip -l 20 addr flush dev eth2
>  *** Flush remains incomplete after 20 rounds. ***
>  # ip -loops 0 addr flush dev eth2
>  #
> 
> This is useful for getting rid of large numbers of IP
> addresses in scripts.
> 
> Signed-off-by: Ben Greear <greearb@...delatech.com>

The current userspace driven flush behavior is crap.
There really should be an atomic flush netlink message
with kernel support.
--
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