[Bridge] [PATCH net-next] bridge: add notification over netlink when STP changes state

Ben Greear greearb at candelatech.com
Wed May 18 08:19:40 PDT 2011


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 <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


More information about the Bridge mailing list