]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qed: Fix possibility of list corruption during rmmod flows
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Wed, 16 May 2018 11:44:39 +0000 (14:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:49:01 +0000 (14:49 -0400)
commit6291c608a908a9d62be650373bce7f734311d07c
tree9d009b3390b8b07dfb7712bf93f4613fadd89898
parent974f6c046ad90d071f96c76ff8ab29355a798c41
qed: Fix possibility of list corruption during rmmod flows

The ll2 flows of flushing the txq/rxq need to be synchronized with the
regular fp processing. Caused list corruption during load/unload stress
tests.

Fixes: 0a7fb11c23c0f ("qed: Add Light L2 support")
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c