aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2023-05-09 11:50:04 +0000
committerDavid S. Miller <[email protected]>2023-05-10 09:25:02 +0000
commit43fb622d91a9f408322735d2f736495c1009f575 (patch)
tree129618de2e41edcc59ea06043ca67bc720db1fe1 /net/ipv4/tcp_input.c
parentnet: deal with most data-races in sk_wait_event() (diff)
downloadkernel-43fb622d91a9f408322735d2f736495c1009f575.tar.gz
kernel-43fb622d91a9f408322735d2f736495c1009f575.zip
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) <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions