[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJieiUgKO-O3YFc3iTQXMmXc287RGgw4FjYhaLn-7+pmA_Fh+g@mail.gmail.com>
Date: Thu, 21 Sep 2017 08:09:28 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: Vincent Bernat <vincent@...nat.im>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
David Ahern <dsahern@...il.com>,
David Miller <davem@...emloft.net>,
bridge@...ts.linux-foundation.org,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v2] bridge: also trigger RTM_NEWLINK when
interface is released from bridge
On Thu, Sep 21, 2017 at 3:04 AM, Vincent Bernat <vincent@...nat.im> wrote:
> ❦ 20 septembre 2017 16:21 -0700, Stephen Hemminger <stephen@...workplumber.org> :
>
>> The one concern is that ports added or removed through ioctl should
>> cause same events as doing the same thing via netlink. Some users use
>> brctl (ioctl) and others use newer bridge (netlink) API.
>
> I'll make a third iteration to have the same notifications when using
> ioctl() with details in the commit message.
> --
as long as the ioctl path for bridge port removal is generating a:
RTM_DELLINK with AF_BRIDGE and
RTM_NEWLINK with AF_UNSPEC with 'master' removed
we should be good. These are the most important ones.
are there other specific bridge-events missing ?. you might want to
run `bridge monitor link` also. and un-slaving of a port also triggers
fdb events which are visible under `bridge monitor fdb`
Powered by blists - more mailing lists