]> 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:52:23 +0000 (14:52 -0400)
commit3b2c0becd8a71598d627b61cdcf214a6f8e0b56e
treee2562feb42930abcd617a33f1c0963575e8520fb
parent891d2afa6b753095c2ddd8302416ab3ab4c07c0c
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: 25f6af4f23ed5 ("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