<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch th/pr/1287</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>fix: dont return NM_DEVICE_CAP_IS_SOFTWARE for loopback</title>
<updated>2022-07-26T15:20:00+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:20:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c47b0201affd382c45df84db642b86fe3ad87e79'/>
<id>c47b0201affd382c45df84db642b86fe3ad87e79</id>
<content type='text'>
You cannot create or delete loopback devices. They are always there.
Sure, they are purely in software, but still.

If we return that loopback has NM_DEVICE_CAP_IS_SOFTWARE, there are
probably other places that needs to be fixed, where we need to special
case loopback for this reason.

It might be easier to just claim that loopback is not a software device.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
You cannot create or delete loopback devices. They are always there.
Sure, they are purely in software, but still.

If we return that loopback has NM_DEVICE_CAP_IS_SOFTWARE, there are
probably other places that needs to be fixed, where we need to special
case loopback for this reason.

It might be easier to just claim that loopback is not a software device.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: choose very low route metric for loopback devices</title>
<updated>2022-07-26T15:16:03+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a10ac7fa5a557ea436c4dc11fde196684fb696b5'/>
<id>a10ac7fa5a557ea436c4dc11fde196684fb696b5</id>
<content type='text'>
It's local. It seems if the user adds a route to that destination,
they would want it preferred over most other routes. Choose a small
metric.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's local. It seems if the user adds a route to that destination,
they would want it preferred over most other routes. Choose a small
metric.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: don't add loopback addr during _l3_commit_one()</title>
<updated>2022-07-26T15:11:59+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:11:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e48eef030fe320c9e87ecb3dc6067fd66b87c4d0'/>
<id>e48eef030fe320c9e87ecb3dc6067fd66b87c4d0</id>
<content type='text'>
It's already added to the combined NML3ConfigData. Why here again?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's already added to the combined NML3ConfigData. Why here again?
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: set a_no_auto_noprefixroute for loopback addr</title>
<updated>2022-07-26T15:09:18+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:09:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5d6e1e39b7a9743d2295c9c4afd4f1df95d61f89'/>
<id>5d6e1e39b7a9743d2295c9c4afd4f1df95d61f89</id>
<content type='text'>
The default value is already FALSE. That cannot be correct, because
we need a non-default behavior here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default value is already FALSE. That cannot be correct, because
we need a non-default behavior here.
</pre>
</div>
</content>
</entry>
<entry>
<title>style: leave blank line after variable declarations</title>
<updated>2022-07-26T15:07:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:07:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=9bc28b1a2ba3ff2b9e70af32cd31653b94a20223'/>
<id>9bc28b1a2ba3ff2b9e70af32cd31653b94a20223</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: version macros/comment</title>
<updated>2022-07-26T15:06:11+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=1d7bbeb35f98173f42e3c9203ca03b9a6e11894e'/>
<id>1d7bbeb35f98173f42e3c9203ca03b9a6e11894e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: usage of klass-&gt;allow_autoconnect_on_external is not right</title>
<updated>2022-07-26T15:04:13+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T15:04:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=cde64135eb7e4e5916c1c7d7b99c33240f4a3257'/>
<id>cde64135eb7e4e5916c1c7d7b99c33240f4a3257</id>
<content type='text'>
This needs a different solution. nm_device_autoconnect_allowed() cannot
force autoconnect to happen, it can only prevent it. There is only one caller
of this, NMPolicy.

That one already does:

    if (nm_device_get_act_request(device))
        return;

    if (!nm_device_autoconnect_allowed(device))
        return;

meaning, it won't autoconnect if we have an activation request
already.

However, the entire point of the exercies is to allow autoconnect,
even if the device has an (external) activation request.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This needs a different solution. nm_device_autoconnect_allowed() cannot
force autoconnect to happen, it can only prevent it. There is only one caller
of this, NMPolicy.

That one already does:

    if (nm_device_get_act_request(device))
        return;

    if (!nm_device_autoconnect_allowed(device))
        return;

meaning, it won't autoconnect if we have an activation request
already.

However, the entire point of the exercies is to allow autoconnect,
even if the device has an (external) activation request.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: drop unused @NM_UNMANAGED_BY_TYPE</title>
<updated>2022-07-26T14:57:00+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T14:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c0b4961106aeff6d6ea22b666fc1fdaf5aa67b11'/>
<id>c0b4961106aeff6d6ea22b666fc1fdaf5aa67b11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: is_loopback() needs adjustment</title>
<updated>2022-07-26T14:55:50+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-07-26T14:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d71f711b1aa47a2658b7bfbdcee6261079aac7b5'/>
<id>d71f711b1aa47a2658b7bfbdcee6261079aac7b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>loopback: preserve the IP addresses when deactivating</title>
<updated>2022-07-26T14:53:16+00:00</updated>
<author>
<name>Wen Liang</name>
<email>liangwen12year@gmail.com</email>
</author>
<published>2022-07-07T22:05:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e8b77e7ac5613782b97023a0226d47a67384ee97'/>
<id>e8b77e7ac5613782b97023a0226d47a67384ee97</id>
<content type='text'>
Signed-off-by: Wen Liang &lt;liangwen12year@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wen Liang &lt;liangwen12year@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
