commit | 2120b7f4d128433ad8c5f503a9584deba0684901 | [log] [tgz] |
---|---|---|
author | Grant Grundler <grundler@chromium.org> | Mon May 09 19:28:26 2022 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 11 12:25:07 2022 +0100 |
tree | a976d13be06aee2e681a3ae8fa041dfbcae8e398 | |
parent | 6aecbba12b5c90b26dc062af3b9de8c4b3a2f19f [diff] |
net: atlantic: verify hw_head_ lies within TX buffer ring Bounds check hw_head index provided by NIC to verify it lies within the TX buffer ring. Reported-by: Aashay Shringarpure <aashay@google.com> Reported-by: Yi Chou <yich@google.com> Reported-by: Shervin Oloumi <enlightened@google.com> Signed-off-by: Grant Grundler <grundler@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>