aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorTobias Waldekranz <tobias@waldekranz.com>2015-02-05 14:54:09 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-07 22:07:37 -0800
commite04449fcf2cd63dec176355a028bd28b4d469be9 (patch)
tree09092393163b21a8f41f5dda29d7b9a9e082515f /net/xfrm
parentdsa: do not dereference non-existing routing table (diff)
downloadlinux-dev-e04449fcf2cd63dec176355a028bd28b4d469be9.tar.xz
linux-dev-e04449fcf2cd63dec176355a028bd28b4d469be9.zip
dsa: correctly determine the number of switches in a system
The number of connected switches was sourced from the number of children to the DSA node, change it to the number of available children, skipping any disabled switches. Fixes: 5e95329b701c4 ("dsa: add device tree bindings to register DSA switches") Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions