commit | 7b441b2526cc47261bf3400842a3148b087419df | [log] [tgz] |
---|---|---|
author | zhanglin <zhang.lin16@zte.com.cn> | Sat Oct 26 15:54:16 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Nov 10 11:23:24 2019 +0100 |
tree | c597d1fccf1ed7c90644e2642e1ea98bf380508a | |
parent | 7d0d649fd2d5e4076db37cbf2d3614629d2d1536 [diff] |
net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol() [ Upstream commit 5ff223e86f5addbfae26419cbb5d61d98f6fbf7d ] memset() the structure ethtool_wolinfo that has padded bytes but the padded bytes have not been zeroed out. Signed-off-by: zhanglin <zhang.lin16@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>