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 856805 Details for
Bug 1058848
Panic on unload of sit module unload and reading of /proc/<pid>/net/dev
[?]
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]
Unregister sit devices
sit-unreg-dev.patch (text/plain), 917 bytes, created by
Steven Rostedt
on 2014-01-28 19:49:49 UTC
(
hide
)
Description:
Unregister sit devices
Filename:
MIME Type:
Creator:
Steven Rostedt
Created:
2014-01-28 19:49:49 UTC
Size:
917 bytes
patch
obsolete
>diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c >index 8ee9f16..d80055a 100644 >--- a/net/ipv6/sit.c >+++ b/net/ipv6/sit.c >@@ -1542,6 +1542,10 @@ static void __net_exit sit_destroy_tunnels(struct net *net, > struct net_device *dev, *aux; > int prio; > >+ for_each_netdev_safe(net, dev, aux) >+ if (dev->rtnl_link_ops == &sit_link_ops) >+ unregister_netdevice_queue(dev, head); >+ > for (prio = 1; prio < 4; prio++) { > int h; > for (h = 0; h < HASH_SIZE; h++) { >@@ -1549,7 +1553,12 @@ static void __net_exit sit_destroy_tunnels(struct net *net, > > t = rtnl_dereference(sitn->tunnels[prio][h]); > while (t != NULL) { >- unregister_netdevice_queue(t->dev, head); >+ /* If dev is in the same netns, it has already >+ * been added to the list by the previous loop. >+ */ >+ if (dev_net(t->dev) != net) >+ unregister_netdevice_queue(t->dev, >+ head); > t = rtnl_dereference(t->next); > } > }
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 1058848
:
856687
| 856805