summaryrefslogtreecommitdiff
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-07-12 01:02:11 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-07-12 06:25:16 (GMT)
commitc8cf89f73f3d9ecbdea479778f0ac714be79be33 (patch)
treeb35f6925713d88442f5a3e5d2490b9165ba42b29 /net/mac80211/iface.c
parent8f5063e97f393d49611151d3cf7dcbeb41397f12 (diff)
downloadlinux-c8cf89f73f3d9ecbdea479778f0ac714be79be33.tar.xz
net: dsa: Fix off-by-one in switch address parsing
cd->sw_addr is used as a MDIO bus address, which cannot exceed PHY_MAX_ADDR (32), our check was off-by-one. Fixes: 5e95329b701c ("dsa: add device tree bindings to register DSA switches") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions