<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src/platform, branch th/strsplit</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>platform/tests: increase timeout waiting for externally adding IP address</title>
<updated>2019-04-07T11:24:34+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-04-07T11:23:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=bfe75c957578f9b8949f905c4d0fe2612aeceb7a'/>
<id>bfe75c957578f9b8949f905c4d0fe2612aeceb7a</id>
<content type='text'>
Seems on a busy system, we can hit this timeout. Increase it.

  ERROR:../src/platform/tests/test-common.c:939:_ip_address_add: code should not be reached
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems on a busy system, we can hit this timeout. Increase it.

  ERROR:../src/platform/tests/test-common.c:939:_ip_address_add: code should not be reached
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: assume 'sriov_drivers_autoprobe' is 1 when sysfs file is missing</title>
<updated>2019-04-04T13:35:13+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2019-04-04T08:22:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8698f512d793db2034745fbff4b5444287b1d48c'/>
<id>8698f512d793db2034745fbff4b5444287b1d48c</id>
<content type='text'>
'sriov_drivers_autoprobe' was added in kernel 4.12. With previous
kernel versions NM is currently unable to set any SR-IOV parameter
because it tries to read 'sriov_drivers_autoprobe' which doesn't
exist, assumes that current value is -1 and tries to change it,
failing.

When the file doesn't exist, drivers are automatically probed so we
can assume the value is 1. In this way NM is able to activate a
connection with sriov.autoprobe-drivers=1 (the default) even on older
kernel versions.

Fixes: 1e41495d9a1b ('platform: sriov: write new values when we can't read old ones')

https://bugzilla.redhat.com/show_bug.cgi?id=1695093
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'sriov_drivers_autoprobe' was added in kernel 4.12. With previous
kernel versions NM is currently unable to set any SR-IOV parameter
because it tries to read 'sriov_drivers_autoprobe' which doesn't
exist, assumes that current value is -1 and tries to change it,
failing.

When the file doesn't exist, drivers are automatically probed so we
can assume the value is 1. In this way NM is able to activate a
connection with sriov.autoprobe-drivers=1 (the default) even on older
kernel versions.

Fixes: 1e41495d9a1b ('platform: sriov: write new values when we can't read old ones')

https://bugzilla.redhat.com/show_bug.cgi?id=1695093
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: set errno to ENOENT for nm_platform_sysctl_get()</title>
<updated>2019-04-04T13:35:13+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-04-04T08:57:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=dc64745dd8b4a48af132a7ddbecd9ce51dcd86bb'/>
<id>dc64745dd8b4a48af132a7ddbecd9ce51dcd86bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>core: add handling of IP routing rules to NMDevice</title>
<updated>2019-03-27T15:23:30+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-03-23T14:09:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3f9347745b30e6182c3b3c768f78295d72c47a93'/>
<id>3f9347745b30e6182c3b3c768f78295d72c47a93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: set fib_rule_hdr.table to RT_TABLE_UNSPEC for tables larger 255</title>
<updated>2019-03-27T15:23:30+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-03-24T09:28:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ccf59be7f51855f220e1c9b7563ec4134604d0d8'/>
<id>ccf59be7f51855f220e1c9b7563ec4134604d0d8</id>
<content type='text'>
No difference in practice, because kernel will ignore the table field
is FRA_TABLE attribute is present.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No difference in practice, because kernel will ignore the table field
is FRA_TABLE attribute is present.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: fix default routing rules added by kernel in NMPRulesManager</title>
<updated>2019-03-27T15:12:15+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-03-24T08:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=48d8ffaff6b44f28b37ee16fd5d6432ce883e9a2'/>
<id>48d8ffaff6b44f28b37ee16fd5d6432ce883e9a2</id>
<content type='text'>
Fixes: b8398b9e7948 ('platform: add NMPRulesManager for syncing routing rules')
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: b8398b9e7948 ('platform: add NMPRulesManager for syncing routing rules')
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: add support for bridge vlans</title>
<updated>2019-03-26T16:19:39+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2019-03-16T16:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fafde171ea67fc66c1db38454fb278c2e9763726'/>
<id>fafde171ea67fc66c1db38454fb278c2e9763726</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: add @family argument to new-link function</title>
<updated>2019-03-26T16:19:39+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2019-03-16T16:22:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=be2fbd0c694cefe68c51ba463ba6f543120a640d'/>
<id>be2fbd0c694cefe68c51ba463ba6f543120a640d</id>
<content type='text'>
This will be used to create bridge vlans, which require an AF_BRIDGE
message family.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will be used to create bridge vlans, which require an AF_BRIDGE
message family.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform/tests: workaround test failure for routing rules with older kernels</title>
<updated>2019-03-20T20:27:08+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-03-20T17:11:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=72bdeebd73f05c831084202f6b983ee3f9b830d6'/>
<id>72bdeebd73f05c831084202f6b983ee3f9b830d6</id>
<content type='text'>
  # NetworkManager-MESSAGE: &lt;warn&gt;  [1553100541.6609] platform-linux: do-add-rule: failure 17 (File exists)
  &gt;&gt;&gt; failing... errno=-17, rule=[routing-rule,0xe9c540,1,+alive,+visible; [6] 4294967295: from all suppress_prefixlen 3 none goto-target 2955537847]
  0:      from all to 73.165.79.8/2 iif nm-test-device 178
  0:      from all 109
  0:      from all tos 0x13 lookup 10004 suppress_prefixlength 0 none
  0:      from all none
  4294967295:     not from all none

  test:ERROR:../src/platform/tests/test-route.c:1607:test_rule: assertion failed (r == 0): (-17 == 0)

Possibly fixed by https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c8f4e6dc30996bff806285730a0bb4e714d3d52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  # NetworkManager-MESSAGE: &lt;warn&gt;  [1553100541.6609] platform-linux: do-add-rule: failure 17 (File exists)
  &gt;&gt;&gt; failing... errno=-17, rule=[routing-rule,0xe9c540,1,+alive,+visible; [6] 4294967295: from all suppress_prefixlen 3 none goto-target 2955537847]
  0:      from all to 73.165.79.8/2 iif nm-test-device 178
  0:      from all 109
  0:      from all tos 0x13 lookup 10004 suppress_prefixlength 0 none
  0:      from all none
  4294967295:     not from all none

  test:ERROR:../src/platform/tests/test-route.c:1607:test_rule: assertion failed (r == 0): (-17 == 0)

Possibly fixed by https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c8f4e6dc30996bff806285730a0bb4e714d3d52
</pre>
</div>
</content>
</entry>
<entry>
<title>platform/tests: skip rule tests if not all features could be tested</title>
<updated>2019-03-20T20:26:50+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-03-20T20:26:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d3c60326eb54314851eb25d515c87f0a79b0ff8e'/>
<id>d3c60326eb54314851eb25d515c87f0a79b0ff8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
