net: hns: Avoid hang when link is changed while handling packets
Bug #1792209 reported by
dann frazier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
Bionic |
Fix Released
|
Undecided
|
dann frazier |
Bug Description
[Impact]
If an admin uses ethtool to change the link speed or duplex setting while the hardware is still processing packets, a hardware hang may result.
[Test Case]
While traffic is in-progress, use ethtool to change link speed/duplex.
[Fix]
Fixes have been applied upstream:
455c4401fe7a5 net: hns: add netif_carrier_off before change speed and duplex
31fabbee8f5c6 net: hns: add the code for cleaning pkt in chip
[Regression Risk]
The only Ubuntu-supported system that uses this driver is the HiSilicon D05 board, on which the fix was explicitly tested.
CVE References
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in linux (Ubuntu): | |
assignee: | nobody → dann frazier (dannf) |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1792209
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.