Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137686 Details for
Bug 201183
app-emulation/vmware-modules-1.0.17 assertion with kernel 2.6.23
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Protect dev_set* calls with rtnl_lock/rtnl_unlock
vmmon-kernel-2.6.13-rtnl-1.patch (text/plain), 1.07 KB, created by
Dario Birtic
on 2007-12-04 06:39:40 UTC
(
hide
)
Description:
Protect dev_set* calls with rtnl_lock/rtnl_unlock
Filename:
MIME Type:
Creator:
Dario Birtic
Created:
2007-12-04 06:39:40 UTC
Size:
1.07 KB
patch
obsolete
>--- vmnet-only/bridge.c 2007-12-04 07:21:33.000000000 +0100 >+++ vmnet-only/bridge.c.new 2007-12-04 07:24:07.000000000 +0100 >@@ -132,7 +132,9 @@ > * correctly i.e. they would not be able to send data packets. > */ > if (!bridge->enabledPromisc && !bridge->wirelessAdapter) { >+ rtnl_lock(); > dev_set_promiscuity(dev, 1); >+ rtnl_unlock(); > bridge->enabledPromisc = TRUE; > bridge->warnPromisc = FALSE; > LOG(0, (KERN_NOTICE "bridge-%s: enabled promiscuous mode\n", >@@ -165,7 +167,9 @@ > struct net_device *dev = bridge->dev; > > if (bridge->enabledPromisc && !bridge->wirelessAdapter) { >+ rtnl_lock(); > dev_set_promiscuity(dev, -1); >+ rtnl_unlock(); > bridge->enabledPromisc = FALSE; > LOG(0, (KERN_NOTICE "bridge-%s: disabled promiscuous mode\n", > bridge->name)); >@@ -207,7 +211,9 @@ > "Your Ethernet driver is not compatible with VMware's bridged networking.\n", > bridge->name)); > } >+ rtnl_lock(); > dev_set_promiscuity(dev, 0); >+ rtnl_unlock(); > } > } > }
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 201183
: 137686 |
137688