Bug 314631
| Summary: | [RHEL 4.5] fix netpoll deadlock | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Flavio Leitner <fleitner> | ||||
| Component: | kernel | Assignee: | Neil Horman <nhorman> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Martin Jenner <mjenner> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.5 | CC: | jbaron, jmoyer, tao | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-10-04 18:34:17 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Flavio Leitner
2007-10-01 19:43:51 UTC
Created attachment 212751 [details]
Proposed patch to fix the deadlock
Hi,
I've checked upstream code and there the code does:
249 if (skb_queue_len(&npinfo->txq) == 0 &&
250 npinfo->poll_owner != smp_processor_id()) {
251 unsigned long flags;
252
253 local_irq_save(flags);
254 /* try until next clock tick */
255 for (tries = jiffies_to_usecs(1)/USEC_PER_POLL;
256 tries > 0; --tries) {
257 if (netif_tx_trylock(dev)) {
I just note on line 253 we are disabling the local irqs.
-Flavio
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. |