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 09:06:54 -0700
Cc: hadi@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030818160422.GB1793@lapdog>
References: <20030818091312.GA4889@lapdog> <20030818041911.358c3437.davem@xxxxxxxxxx> <1061208824.16010.2119.camel@xxxxxxxxxxxxxxxx> <20030818051227.4f35f2f3.davem@xxxxxxxxxx> <20030818160422.GB1793@lapdog>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 18 Aug 2003 19:04:22 +0300
Tommi Virtanen <tv@xxxxxxxxxx> wrote:

> ===== net/ipv6/ndisc.c 1.22 vs edited =====
> --- 1.22/net/ipv6/ndisc.c     Tue Jun 24 02:21:28 2003
> +++ edited/net/ipv6/ndisc.c   Mon Aug 18 18:51:40 2003
 ...
> +     case NETDEV_CHANGEADDR:
> +             neigh_changeaddr(&nd_tbl, dev);
> +             rt_cache_flush(0);

Don't flush the ipv4 routing cache from ipv6 please :-)

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