Repository navigation
Commit 41c6284
ixgbe: Fix rcu warnings induced by LER
Resolve some rcu warnings produced when LER actions take place.
This appears to be due to not holding the rtnl lock when calling
ixgbe_down, so hold the lock. Also avoid disabling the device
when it is already disabled. This check is necessary because the
callback can be called more than once in some cases.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>1 parent 75009b3 commit 41c6284
2 files changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| 811 | + | |
811 | 812 | | |
812 | 813 | | |
813 | 814 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5566 | 5566 | | |
5567 | 5567 | | |
5568 | 5568 | | |
| 5569 | + | |
| 5570 | + | |
5569 | 5571 | | |
5570 | 5572 | | |
5571 | 5573 | | |
| |||
5663 | 5665 | | |
5664 | 5666 | | |
5665 | 5667 | | |
5666 | | - | |
| 5668 | + | |
| 5669 | + | |
5667 | 5670 | | |
5668 | 5671 | | |
5669 | 5672 | | |
| |||
8313 | 8316 | | |
8314 | 8317 | | |
8315 | 8318 | | |
8316 | | - | |
| 8319 | + | |
| 8320 | + | |
8317 | 8321 | | |
8318 | 8322 | | |
8319 | 8323 | | |
| |||
8382 | 8386 | | |
8383 | 8387 | | |
8384 | 8388 | | |
8385 | | - | |
| 8389 | + | |
| 8390 | + | |
8386 | 8391 | | |
8387 | 8392 | | |
8388 | 8393 | | |
| |||
8489 | 8494 | | |
8490 | 8495 | | |
8491 | 8496 | | |
| 8497 | + | |
8492 | 8498 | | |
8493 | 8499 | | |
8494 | | - | |
| 8500 | + | |
| 8501 | + | |
8495 | 8502 | | |
| 8503 | + | |
8496 | 8504 | | |
8497 | 8505 | | |
8498 | 8506 | | |
8499 | | - | |
| 8507 | + | |
| 8508 | + | |
| 8509 | + | |
| 8510 | + | |
8500 | 8511 | | |
8501 | 8512 | | |
8502 | 8513 | | |
| |||
8518 | 8529 | | |
8519 | 8530 | | |
8520 | 8531 | | |
| 8532 | + | |
| 8533 | + | |
8521 | 8534 | | |
8522 | 8535 | | |
8523 | 8536 | | |
| |||
0 commit comments