netdev
[Top] [All Lists]

Re: [PATCH] Change MAC without bringing interface down

To: Tommi Virtanen <tv@xxxxxxxxxx>
Subject: Re: [PATCH] Change MAC without bringing interface down
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 18 Aug 2003 07:20:44 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030818142455.GA1793@lapdog>
References: <20030818091312.GA4889@lapdog> <20030818041911.358c3437.davem@xxxxxxxxxx> <20030818142455.GA1793@lapdog>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 18 Aug 2003 17:24:55 +0300
Tommi Virtanen <tv@xxxxxxxxxx> wrote:

> > I would suggest to fix this by instead flushing the hh
> > entries (just like neigh_destroy() does).
> 
>       This may be a dumb question, but how do I do that?
> 
>       If I set them to neigh_blackhole, like neigh_destroy() does,
>       e.g. already running gets -ENETDOWN. That's now true and it's
>       not nice. I'm having trouble seeing how to "disable" the
>       neighbour entry, so it won't be used again.

You have to also remove them from the list, like neigh_destroy()
does, are you doing that as well?

<Prev in Thread] Current Thread [Next in Thread>