aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorShailend Chand <[email protected]>2024-05-01 23:25:47 +0000
committerDavid S. Miller <[email protected]>2024-05-05 14:35:34 +0100
commitaf9bcf910b1f86244f39e15e701b2dc564b469a6 (patch)
treee35c9408160bba58a32035c2ec6a2957acbf6420 /lib/test_fortify/write_overflow-strncpy-src.c
parent770f52d5a0ed9ea3e3b8f04927eac520cab97935 (diff)
gve: Account for stopped queues when reading NIC stats
We now account for the fact that the NIC might send us stats for a subset of queues. Without this change, gve_get_ethtool_stats might make an invalid access on the priv->stats_report->stats array. Tested-by: Mina Almasry <[email protected]> Reviewed-by: Praveen Kaligineedi <[email protected]> Reviewed-by: Harshitha Ramamurthy <[email protected]> Signed-off-by: Shailend Chand <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions