]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:47:06 +0000 (14:47 +0100)
commit3b56cd381149851983f9ba3e821190579d4e0f2f
tree940bec719ed8fb4a44b7a96bb3ef9482ec8e5097
parentb453ca636936f39198f71ff62d1a9f89962fb220
cxgb4: Fix offset when clearing filter byte counters

BugLink: https://bugs.launchpad.net/bugs/1899511
[ Upstream commit 94cc242a067a869c29800aa789d38b7676136e50 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c