Skip to content
Commit 47840af3 authored by Grant Grundler's avatar Grant Grundler Committed by Greg Kroah-Hartman
Browse files

net: atlantic: verify hw_head_ lies within TX buffer ring

[ Upstream commit 2120b7f4

 ]

Bounds check hw_head index provided by NIC to verify it lies
within the TX buffer ring.

Reported-by: default avatarAashay Shringarpure <aashay@google.com>
Reported-by: default avatarYi Chou <yich@google.com>
Reported-by: default avatarShervin Oloumi <enlightened@google.com>
Signed-off-by: default avatarGrant Grundler <grundler@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 948ddbdc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment