summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-05-09 12:50:04 +0100
committerDavid S. Miller <davem@davemloft.net>2023-05-10 10:25:02 +0100
commit43fb622d91a9f408322735d2f736495c1009f575 (patch)
tree129618de2e41edcc59ea06043ca67bc720db1fe1 /net
parentd0ac89f6f9879fae316c155de77b5173b3e2c9c9 (diff)
net: pcs: xpcs: fix incorrect number of interfaces
In synopsys_xpcs_compat[], the DW_XPCS_2500BASEX entry was setting the number of interfaces using the xpcs_2500basex_features array rather than xpcs_2500basex_interfaces. This causes us to overflow the array of interfaces. Fix this. Fixes: f27abde3042a ("net: pcs: add 2500BASEX support for Intel mGbE controller") Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions