netdev
[Top] [All Lists]

Re: [PATCH] Change MAC without bringing interface down

To: hadi@xxxxxxxxxx
Subject: Re: [PATCH] Change MAC without bringing interface down
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 18 Aug 2003 05:12:27 -0700
Cc: tv@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <1061208824.16010.2119.camel@xxxxxxxxxxxxxxxx>
References: <20030818091312.GA4889@lapdog> <20030818041911.358c3437.davem@xxxxxxxxxx> <1061208824.16010.2119.camel@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On 18 Aug 2003 08:13:44 -0400
jamal <hadi@xxxxxxxxxx> wrote:

> Editing the header may be the better approach if you have a few hundred 
> hhs already inserted (this was the issue i was faced with when VRRP was
> failing over when i was playing with it). I tried to flush the cache but
> it took longer to recover it. 

There is another reason I want the cache flushed.

Those hh cache entries are what ARP resolved to when we
had the previous MAC address, not the one we have now.

The ARPs may come back differently with the new MAC
address.

I _REALLY REALLY_ don't want to have to change the
->update() implementations.  Although one thing I
would consider is a new ->update_src() operation
and if this were NULL we flush the entries instead.

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