All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Ben Greear <greearb@candelatech.com>
Cc: netdev@vger.kernel.org
Subject: Re: [iproute2] iproute2:  Fix filtering related to flushing IP addresses.
Date: Mon, 23 Aug 2010 08:15:28 -0700	[thread overview]
Message-ID: <20100823081528.46bc001e@nehalam> (raw)
In-Reply-To: <1281978008-6383-1-git-send-email-greearb@candelatech.com>

On Mon, 16 Aug 2010 10:00:08 -0700
Ben Greear <greearb@candelatech.com> wrote:

> The old 'ip addr flush' logic had several flaws:
> 
> * It reversed logic for primary v/s secondary flags
>   (though, it sort of worked right anyway)
> 
> * The code tried to remove secondaries and then primaries,
>   but in practice, it always removed one primary per loop,
>   which not at all efficient.
> 
> * The filter logic in the core would run only the first
>   filter in most cases.
> 
> * If you used '-s -s', the ifa_flags member would be
>   modified, which could make future filters fail
>   to function fine.
> 
> This patch attempts to fix all of these issues.
> 
> Tested-by: Brian Haley <brian.haley@hp.com>
> Signed-off-by: Ben Greear <greearb@candelatech.com>

applied

-- 

      parent reply	other threads:[~2010-08-23 15:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16 17:00 [iproute2] iproute2: Fix filtering related to flushing IP addresses Ben Greear
2010-08-20 17:49 ` Ben Greear
2010-08-20 18:49   ` Stephen Hemminger
2010-08-20 18:55     ` Ben Greear
2010-08-23 15:15 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100823081528.46bc001e@nehalam \
    --to=shemminger@vyatta.com \
    --cc=greearb@candelatech.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.