]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
dpaa2-eth: fix draining of S/G cache
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 6 Jul 2020 14:55:54 +0000 (17:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2020 20:00:43 +0000 (13:00 -0700)
commit0fe665d42fd0844dbfb60f15b09d71fd0c409b00
tree0ae2ccec957bdb403c53d77b991af4f34a32de75
parentbc0c3ae40a03d47709b5d9d86cc9ed0681691e03
dpaa2-eth: fix draining of S/G cache

On link down, the draining of the S/G cache should be done on all
_possible_ CPUs not just the ones that are online in that moment.
Fix this by changing the iterator.

Fixes: d70446ee1f40 ("dpaa2-eth: send a scatter-gather FD instead of realloc-ing")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c