[PATCH 0/1][SRU][B] LP#1860320 -- Fix hns3 driver by padding the short frame before sending to the hardware
Taihsiang Ho (tai271828)
taihsiang.ho at canonical.com
Mon Feb 24 16:47:23 UTC 2020
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(+)
--
2.17.1
More information about the kernel-team
mailing list