diff options
| author | Jakub Kicinski <[email protected]> | 2023-06-07 01:08:26 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-08 04:53:11 +0000 |
| commit | f0d751973f739feb3742d4e5f4c0914e8b84e7c7 (patch) | |
| tree | 5ffe9c05a4e1bcca51e758e2220fd773dd890379 /drivers/platform/surface/aggregator/controller.c | |
| parent | eth: bnxt: fix the wake condition (diff) | |
| download | kernel-f0d751973f739feb3742d4e5f4c0914e8b84e7c7.tar.gz kernel-f0d751973f739feb3742d4e5f4c0914e8b84e7c7.zip | |
eth: ixgbe: fix the wake condition
Flip the netif_carrier_ok() condition in queue wake logic.
When I moved it to inside __netif_txq_completed_wake()
I missed negating it.
This made the condition ineffective and could probably
lead to crashes.
Fixes: 301f227fc860 ("net: piggy back on the memory barrier in bql when waking queues")
Reviewed-by: Tony Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
