]> git.baikalelectronics.ru Git - 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)
commit876e91447eaf3403d76580d78aa40be369959fd8
tree9d009b3390b8b07dfb7712bf93f4613fadd89898
parentd7dfd27da73529a425dddedcc94b2db9c236af4f
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: 6ae5878dbe6e7 ("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