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 881815 Details for
Bug 1083521
NetworkManager bridge DHCP & ignore-carrier
[?]
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]
0001-core-fix-bug-with-ignore-carrier-and-master-slave-de.patch
0001-core-fix-bug-with-ignore-carrier-and-master-slave-de.patch (text/plain), 1.38 KB, created by
Dan Williams
on 2014-04-02 14:17:53 UTC
(
hide
)
Description:
0001-core-fix-bug-with-ignore-carrier-and-master-slave-de.patch
Filename:
MIME Type:
Creator:
Dan Williams
Created:
2014-04-02 14:17:53 UTC
Size:
1.38 KB
patch
obsolete
>From 0b664ad4a4dc0e8acefdf53f8a9adb12bbd0cd29 Mon Sep 17 00:00:00 2001 >From: Dan Williams <dcbw@redhat.com> >Date: Wed, 2 Apr 2014 09:15:54 -0500 >Subject: [PATCH] core: fix bug with ignore-carrier and master/slave devices > (rh #1083521) > >Even ignore-carrier devices need to be aware of carrier-up events so >they can continue DHCP when the link comes up. They just ignore all >carrier-down events. >--- > src/devices/nm-device.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > >diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c >index 7e2f034..0906da3 100644 >--- a/src/devices/nm-device.c >+++ b/src/devices/nm-device.c >@@ -1004,19 +1004,17 @@ carrier_changed (NMDevice *device, gboolean carrier) > NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (device); > > if (!nm_device_get_managed (device)) > return; > > nm_device_recheck_available_connections (device); > >- if (priv->ignore_carrier) { >- /* Ignore all carrier-off, and ignore carrier-on on connected devices */ >- if (!carrier || priv->state > NM_DEVICE_STATE_DISCONNECTED) >- return; >- } >+ /* ignore-carrier devices ignore all carrier-down events */ >+ if (priv->ignore_carrier && !carrier) >+ return; > > if (nm_device_is_master (device)) { > /* Bridge/bond/team carrier does not affect its own activation, > * but when carrier comes on, if there are slaves waiting, > * it will restart them. > */ > if (!carrier) >-- >1.9.0 >
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 1083521
:
881751
|
881752
| 881815 |
881883