Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 181601 Details for
Bug 251978
kernel panic : kernel BUG at include/linux/netdevice.h:888!
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to hide device from the poll list during netpoll operations to avoid net_rx_action races
netpoll.patch (text/plain), 975 bytes, created by
Neil Horman
on 2007-08-30 18:54:38 UTC
(
hide
)
Description:
patch to hide device from the poll list during netpoll operations to avoid net_rx_action races
Filename:
MIME Type:
Creator:
Neil Horman
Created:
2007-08-30 18:54:38 UTC
Size:
975 bytes
patch
obsolete
>diff -up linux-2.6.9/net/core/netpoll.c.orc linux-2.6.9/net/core/netpoll.c >--- linux-2.6.9/net/core/netpoll.c.orc 2007-08-30 14:43:35.000000000 -0400 >+++ linux-2.6.9/net/core/netpoll.c 2007-08-30 14:52:06.000000000 -0400 >@@ -24,6 +24,7 @@ > #include <linux/reboot.h> > #include <linux/rcupdate.h> > #include <linux/workqueue.h> >+#include <linux/list.h> > #include <net/tcp.h> > #include <net/udp.h> > #include <asm/unaligned.h> >@@ -133,6 +134,18 @@ void netpoll_poll_dev(struct net_device > > /* Process pending work on NIC */ > dev->poll_controller(dev); >+ /* >+ * Check to see if we added ourselves to the poll >+ * list from the poll controller. If we did >+ * lets remove it again to avoid a race with net_rx_action >+ * here. yes, a bit of a hack but neat and self contained >+ */ >+ local_irq_disable(); >+ if (!list_empty(&dev->poll_list)) { >+ list_del(&dev->poll_list); >+ INIT_LIST_HEAD(&dev->poll_list); >+ } >+ local_irq_enable(); > if (dev->poll) > poll_napi(dev); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251978
:
161198
|
181601
|
183141
|
183961
|
185531
|
185541
|
186681
|
187461
|
187831
|
189261
|
190311
|
190351
|
194551