netdev
[Top] [All Lists]

Re: [PATCH 2.6 NET] Device name changing via rtnetlink

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: [PATCH 2.6 NET] Device name changing via rtnetlink
From: jamal <hadi@xxxxxxxxxx>
Date: 10 Sep 2004 22:01:10 -0400
Cc: jt@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040910231726.GP20088@postel.suug.ch>
Organization: jamalopolis
References: <20040910195003.GA13912@bougret.hpl.hp.com> <20040910200644.GJ20088@postel.suug.ch> <20040910201302.GA16556@bougret.hpl.hp.com> <20040910202235.GK20088@postel.suug.ch> <20040910203203.GA17078@bougret.hpl.hp.com> <20040910204348.GL20088@postel.suug.ch> <1094857082.1041.19.camel@jzny.localdomain> <20040910231726.GP20088@postel.suug.ch>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 2004-09-10 at 19:17, Thomas Graf wrote:

> There is one remaining problem, currently, changes via rtnetlink will
> result in multiple notifies being sent out because NETDEV_CHANGEMTU
> and NETDEV_CHANGENAME are invoked as well and result in a netlink
> message. Changing them to not do anything in rtnetlink context
> would solve it but we would lose the notify if the change was made
> via ioctl.
> 

notify via ioctls is still needed.
Are you changing MTU and NAME at the same time?
Valid to receive the two updates i would think in that case.

cheers,
jamal



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