linux/net/bridge
Vivien Didelot 34d8acd8aa net: bridge: shorten ageing time on topology change
802.1D [1] specifies that the bridges must use a short value to age out
dynamic entries in the Filtering Database for a period, once a topology
change has been communicated by the root bridge.

Add a bridge_ageing_time member in the net_bridge structure to store the
bridge ageing time value configured by the user (ioctl/netlink/sysfs).

If we are using in-kernel STP, shorten the ageing time value to twice
the forward delay used by the topology when the topology change flag is
set. When the flag is cleared, restore the configured ageing time.

[1] "8.3.5 Notifying topology changes ",
    http://profesores.elo.utfsm.cl/~agv/elo309/doc/802.1D-1998.pdf

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-10 21:28:28 -05:00
..
netfilter netfilter: nf_log: do not assume ethernet header in netdev family 2016-12-04 20:45:33 +01:00
Kconfig
Makefile
br.c
br_device.c net: bridge: shorten ageing time on topology change 2016-12-10 21:28:28 -05:00
br_fdb.c
br_forward.c
br_if.c
br_input.c
br_ioctl.c
br_mdb.c
br_multicast.c bridge: mcast: add MLDv2 querier support 2016-11-21 13:16:58 -05:00
br_netfilter_hooks.c netfilter: convert while loops to for loops 2016-12-06 21:42:16 +01:00
br_netfilter_ipv6.c
br_netlink.c bridge: mcast: add MLDv2 querier support 2016-11-21 13:16:58 -05:00
br_nf_core.c
br_private.h net: bridge: shorten ageing time on topology change 2016-12-10 21:28:28 -05:00
br_private_stp.h net: bridge: add helper to set topology change 2016-12-10 21:27:23 -05:00
br_stp.c net: bridge: shorten ageing time on topology change 2016-12-10 21:28:28 -05:00
br_stp_bpdu.c
br_stp_if.c net: bridge: add helper to set topology change 2016-12-10 21:27:23 -05:00
br_stp_timer.c net: bridge: add helper to set topology change 2016-12-10 21:27:23 -05:00
br_switchdev.c
br_sysfs_br.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-06 21:33:19 -05:00
br_sysfs_if.c
br_vlan.c