summaryrefslogtreecommitdiffstats
path: root/scripts/Lindent
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-03-04 12:56:54 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-04 14:19:01 -0800
commit6a5166e07c029182ee0e15c1a97b08c3179b2aaf (patch)
tree366a69e9a8ecb1ca1f6ae1949e3ac31371e72579 /scripts/Lindent
parent053d8ad10d585adf9891fcd049637536e2fe9ea7 (diff)
downloadlinux-stable-6a5166e07c029182ee0e15c1a97b08c3179b2aaf.tar.gz
linux-stable-6a5166e07c029182ee0e15c1a97b08c3179b2aaf.tar.bz2
linux-stable-6a5166e07c029182ee0e15c1a97b08c3179b2aaf.zip
net: dsa: sja1105: fix ucast/bcast flooding always remaining enabled
In the blamed patch I managed to introduce a bug while moving code around: the same logic is applied to the ucast_egress_floods and bcast_egress_floods variables both on the "if" and the "else" branches. This is clearly an unintended change compared to how the code used to be prior to that bugfix, so restore it. Fixes: 7f7ccdea8c73 ("net: dsa: sja1105: fix leakage of flooded frames outside bridging domain") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions