1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell/mvpp2
Maxime Chevallier d37acd5aa9 net: mvpp2: Use strscpy to handle stat strings
Use a safe strscpy call to copy the ethtool stat strings into the
relevant buffers, instead of a memcpy that will be accessing
out-of-bound data.

Fixes: 118d6298f6 ("net: mvpp2: add ethtool GOP statistics")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-06 10:38:42 -07:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2.h net: mvpp2: cls: Allow dropping packets with classification offload 2019-05-01 17:13:14 -04:00
mvpp2_cls.c net: mvpp2: cls: Fix leaked ethtool_rx_flow_rule 2019-05-23 09:13:00 -07:00
mvpp2_cls.h net: mvpp2: cls: Allow dropping packets with classification offload 2019-05-01 17:13:14 -04:00
mvpp2_debugfs.c net: mvpp2: cls: Rename the flow table macros 2019-03-27 11:10:58 -07:00
mvpp2_main.c net: mvpp2: Use strscpy to handle stat strings 2019-06-06 10:38:42 -07:00
mvpp2_prs.c net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00
mvpp2_prs.h net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00