From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4DD3E38C.30609@candelatech.com> Date: Wed, 18 May 2011 08:19:40 -0700 From: Ben Greear MIME-Version: 1.0 References: <20110518081718.0b1fc390@nehalam> In-Reply-To: <20110518081718.0b1fc390@nehalam> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH net-next] bridge: add notification over netlink when STP changes state List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephen Hemminger Cc: netdev@vger.kernel.org, bridge@linux-foundation.org, David Miller On 05/18/2011 08:17 AM, Stephen Hemminger wrote: > The first netlink code in the bridge module was to notify > user space implementations of Spanning Tree Protocol about > new ports. It did not handle the case of kernel mode STP > changing states which could be useful for monitoring. > > This patch causes RTM_NEWLINK message to occur on kernel > transitions. It does not send message if request was from user > space STP, since that would cause reflection and break existing > API. So one app monitoring the system won't get updates if another app makes changes? Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com