ACK: [PATCH 0/1][SRU][B] LP#1860320 -- Fix hns3 driver by padding the short frame before sending to the hardware

Andrea Righi andrea.righi at canonical.com
Thu Feb 27 08:37:34 UTC 2020


On Tue, Feb 25, 2020 at 12:47:23AM +0800, Taihsiang Ho (tai271828) wrote:
> The hardware can not handle short frames below or equal to 32
> bytes.
> 
> [Impact]
> The system may hang or endless event log in /var/log/syslog
> 
> [Fix]
> Cherry-pick or backport the upstream fix
> 36c67349a1a1c88b9cf11d7ca7762ababdb38867 net: hns3: pad the short frame
> before sending to the hardware
> 
> [Test Case]
> Send a frame less than 33 bytes.
> 
> [Regression Risk]
> Low, the patch is only specific to the hns3 driver.
> 
> Yunsheng Lin (1):
>   net: hns3: pad the short frame before sending to the hardware
> 
>  drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 6 ++++++
>  1 file changed, 6 insertions(+)

Looks good to me.

Acked-by: Andrea Righi <andrea.righi at canonical.com>



More information about the kernel-team mailing list