]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
cxgb4: Fix offset when clearing filter byte counters
authorGanji Aravind <ganji.aravind@chelsio.com>
Fri, 4 Sep 2020 10:28:18 +0000 (15:58 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 22:48:42 +0000 (15:48 -0700)
commit94cc242a067a869c29800aa789d38b7676136e50
tree74c83a3bb3893b1861d953519f622fd75aa731b0
parent02146a93ba87401bb0e13c616bed248044796ba8
cxgb4: Fix offset when clearing filter byte counters

Pass the correct offset to clear the stale filter hit
bytes counter. Otherwise, the counter starts incrementing
from the stale information, instead of 0.

Fixes: 12b276fbf6e0 ("cxgb4: add support to create hash filters")
Signed-off-by: Ganji Aravind <ganji.aravind@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c