Re: [PATCH 4.4 68/97] net: hns: fix ethtool_get_strings overflow in hns driver

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 03, 2018 at 10:39:43PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Timmy Li > > > > > > [ Upstream commit 412b65d1

Re: [PATCH 4.4 68/97] net: hns: fix ethtool_get_strings overflow in hns driver

2018-04-03 Thread Ben Hutchings
On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Timmy Li > > > [ Upstream commit 412b65d15a7f8a93794653968308fc100f2aa87c ] [...] This is not a correct fix; please also

[PATCH 4.4 68/97] net: hns: fix ethtool_get_strings overflow in hns driver

2018-03-23 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Timmy Li [ Upstream commit 412b65d15a7f8a93794653968308fc100f2aa87c ] hns_get_sset_count() returns HNS_NET_STATS_CNT and the data space allocated is not enough for ethtool_get_strings(), which