commit | c2311fd6de7815187fc31fe79fe6c969bc8a0b4c | [log] [tgz] |
---|---|---|
author | Austin Kim <austindh.kim@gmail.com> | Wed Jun 09 03:34:25 2021 +0100 |
committer | Sasha Levin <sashal@kernel.org> | Wed Jun 30 08:47:20 2021 -0400 |
tree | a76a621601761512bc66e5a8853c0a4f16ea4331 | |
parent | c2813d1966ba45ec205e57e94c53cd07805be2e1 [diff] |
net: ethtool: clear heap allocations for ethtool function [ Upstream commit 80ec82e3d2c1fab42eeb730aaa7985494a963d3f ] 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: Austin Kim <austindh.kim@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>