APPLIED: [PATCH 0/3][SRU Bionic] hns3: avoid corruption due to ring buffer race

Kleber Souza kleber.souza at canonical.com
Tue Sep 3 14:24:29 UTC 2019


On 8/20/19 12:11 AM, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1840717
> 
> All clean cherry picks. Patch #1 is a small cleanup that allows Patch #2
> to apply cleanly. Patch #3 improves the performance of Patch #2. All 3
> patches were introduced in v5.2, so they've had plenty of "bake time"
> together.
> 
> 
> Yunsheng Lin (3):
>   net: hns3: minor optimization for ring_space
>   net: hns3: fix data race between ring->next_to_clean
>   net: hns3: optimize the barrier using when cleaning TX BD
> 
>  .../net/ethernet/hisilicon/hns3/hns3_enet.c   | 35 ++++++++++++-------
>  .../net/ethernet/hisilicon/hns3/hns3_enet.h   | 18 +++++-----
>  2 files changed, 30 insertions(+), 23 deletions(-)
> 

Applied to bionic/master-next branch.

Thanks,
Kleber



More information about the kernel-team mailing list