This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1860320

Title:
  [hns3-0120]pad the short frame before sending to the hardware

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  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.

  ====== Original Bug Description ======

  [Bug Description]
  The hardware can not handle short frames below or equal to 32
  bytes according to the hardware user manual, and it will trigger
  a RAS error when the frame's length is below 33 bytes.

  [Steps to Reproduce]
  1.send a frame less than 33 bytes.

  [Actual Results]
  a RAS occurs

  [Expected Results]
  no RAS

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  pads the SKB when skb->len is below 33 bytes before sending it to hardware.

  net: hns3: pad the short frame before sending to the hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860320/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to