net: bridge: add helper to set topology change
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sat, 10 Dec 2016 18:44:28 +0000 (13:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Dec 2016 02:27:23 +0000 (21:27 -0500)
commit8384b5f5b293389a42cc65bfca2d767d15809aa1
treeccb3b54b6b7865239a750e1573b83ef76774728a
parent82dd4332aa07843f7444c55bc17fee9bd76aa0f7
net: bridge: add helper to set topology change

Add a __br_set_topology_change helper to set the topology change value.

This can be later extended to add actions when the topology change flag
is set or cleared.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private_stp.h
net/bridge/br_stp.c
net/bridge/br_stp_if.c
net/bridge/br_stp_timer.c