Commit 53a983f5 authored by Jian Shen's avatar Jian Shen Committed by Jiantao Xiao
Browse files

net: hns3: fix statistics issue when disable page pool

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8ISOD


CVE: NA

----------------------------------------------------------------------

It shouldn't update the page pool statistics when page pool
is disabled, which may cause statistics overlap.

Fixes: 59de65f6 ("net: hns3: add support for page_pool_get_stats")
Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
parent 77b19549
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment