ethtool: stats: Fix a copy-paste error
authorYueHaibing <yuehaibing@huawei.com>
Wed, 19 May 2021 02:10:38 +0000 (10:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 May 2021 18:57:33 +0000 (11:57 -0700)
commitc71b99640d2d350ee3146452c1057bd59cb2c5e0
treed3fb0ad3e455a76c2d526a16fc6708451e59877d
parentc9fd37a9450b23804868d7a5b0d038b32ba466be
ethtool: stats: Fix a copy-paste error

data->ctrl_stats should be memset with correct size.

Fixes: bfad2b979ddc ("ethtool: add interface to read standard MAC Ctrl stats")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/stats.c