summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_vlan.c
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevic@redhat.com>2013-10-15 14:57:45 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-17 16:12:15 -0400
commit4b6c7879d84ad06a2ac5b964808ed599187a188d (patch)
treef7cc8279de66406a399dde8ebb020c4194d853b9 /net/bridge/br_vlan.c
parent8f26fb1c1ed81c33f5d87c5936f4d9d1b4118918 (diff)
downloadlinux-4b6c7879d84ad06a2ac5b964808ed599187a188d.tar.bz2
bridge: Correctly clamp MAX forward_delay when enabling STP
Commit be4f154d5ef0ca147ab6bcd38857a774133f5450 bridge: Clamp forward_delay when enabling STP had a typo when attempting to clamp maximum forward delay. It is possible to set bridge_forward_delay to be higher then permitted maximum when STP is off. When turning STP on, the higher then allowed delay has to be clamed down to max value. CC: Herbert Xu <herbert@gondor.apana.org.au> CC: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Vlad Yasevich <vyasevic@redhat.com> Reviewed-by: Veaceslav Falico <vfalico@redhat.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_vlan.c')
0 files changed, 0 insertions, 0 deletions