]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethtool: clear heap allocations for ethtool function
authorAustin Kim <austindh.kim@gmail.com>
Wed, 9 Jun 2021 02:34:25 +0000 (03:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2021 20:53:31 +0000 (13:53 -0700)
commit89e9dd2072ec83ac1dfb1414a3d9b1830073eca7
tree005e0cc9daf9c36df5e27d98ff5f4f591e4736b0
parent769ef4a0f87c69efe2249d663816fdb4d9a7192e
net: ethtool: clear heap allocations for ethtool function

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>
net/ethtool/ioctl.c