Skip to content
Commit a655fe62 authored by Austin Kim's avatar Austin Kim Committed by Sasha Levin
Browse files

net: ethtool: clear heap allocations for ethtool function

[ Upstream commit 80ec82e3

 ]

Several ethtool functions leave heap uncleared (potentially) by
drivers. This will leave the unused portion of heap unchanged and
might copy the full contents back to userspace.

Signed-off-by: default avatarAustin Kim <austindh.kim@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0529c16a
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