]> git.proxmox.com Git - mirror_ubuntu-disco-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:52:23 +0000 (14:52 -0400)
commitffd2c0d12752a69e480366031ec7a7d723dd2510
treee2562feb42930abcd617a33f1c0963575e8520fb
parentf9bcd60274a565751abef622f9018badd01a17c8
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