]> Git Repo - linux.git/commit
net: atlantic: verify hw_head_ lies within TX buffer ring
authorGrant Grundler <[email protected]>
Tue, 10 May 2022 02:28:26 +0000 (19:28 -0700)
committerDavid S. Miller <[email protected]>
Wed, 11 May 2022 11:25:07 +0000 (12:25 +0100)
commit2120b7f4d128433ad8c5f503a9584deba0684901
treea976d13be06aee2e681a3ae8fa041dfbcae8e398
parent6aecbba12b5c90b26dc062af3b9de8c4b3a2f19f
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 <[email protected]>
Reported-by: Yi Chou <[email protected]>
Reported-by: Shervin Oloumi <[email protected]>
Signed-off-by: Grant Grundler <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
This page took 0.060905 seconds and 4 git commands to generate.