Commit 33385ad
igb: fix deadlock caused by taking RTNL in RPM resume path
[ Upstream commit ac8c58f ]
Recent net core changes caused an issue with few Intel drivers
(reportedly igb), where taking RTNL in RPM resume path results in a
deadlock. See [0] for a bug report. I don't think the core changes
are wrong, but taking RTNL in RPM resume path isn't needed.
The Intel drivers are the only ones doing this. See [1] for a
discussion on the issue. Following patch changes the RPM resume path
to not take RTNL.
[0] https://bugzilla.kernel.org/show_bug.cgi?id=215129
[1] https://lore.kernel.org/netdev/20211125074949.5f897431@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com/t/
Fixes: bd86924 ("net: core: try to runtime-resume detached device in __dev_open")
Fixes: f32a213 ("ethtool: runtime-resume netdev parent before ethtool ioctl ops")
Tested-by: Martin Stolpe <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>1 parent b99c71f commit 33385ad
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9247 | 9247 | | |
9248 | 9248 | | |
9249 | 9249 | | |
9250 | | - | |
| 9250 | + | |
9251 | 9251 | | |
9252 | 9252 | | |
9253 | 9253 | | |
| |||
9290 | 9290 | | |
9291 | 9291 | | |
9292 | 9292 | | |
9293 | | - | |
| 9293 | + | |
| 9294 | + | |
9294 | 9295 | | |
9295 | 9296 | | |
9296 | 9297 | | |
9297 | 9298 | | |
9298 | 9299 | | |
9299 | | - | |
| 9300 | + | |
| 9301 | + | |
9300 | 9302 | | |
9301 | 9303 | | |
9302 | 9304 | | |
9303 | 9305 | | |
| 9306 | + | |
| 9307 | + | |
| 9308 | + | |
| 9309 | + | |
| 9310 | + | |
9304 | 9311 | | |
9305 | 9312 | | |
9306 | 9313 | | |
| |||
9319 | 9326 | | |
9320 | 9327 | | |
9321 | 9328 | | |
9322 | | - | |
| 9329 | + | |
9323 | 9330 | | |
9324 | 9331 | | |
9325 | 9332 | | |
| |||
9435 | 9442 | | |
9436 | 9443 | | |
9437 | 9444 | | |
9438 | | - | |
| 9445 | + | |
9439 | 9446 | | |
9440 | 9447 | | |
9441 | 9448 | | |
| |||
9475 | 9482 | | |
9476 | 9483 | | |
9477 | 9484 | | |
9478 | | - | |
| 9485 | + | |
9479 | 9486 | | |
9480 | 9487 | | |
9481 | 9488 | | |
| |||
0 commit comments