<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wan/c101.c, branch linux-6.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2021-07-27T19:11:45Z</updated>
<entry>
<title>net: split out ndo_siowandev ioctl</title>
<updated>2021-07-27T19:11:45Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2021-07-27T13:45:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ad7eab2ab014748b062507b7ac69f8e856057717'/>
<id>urn:sha1:ad7eab2ab014748b062507b7ac69f8e856057717</id>
<content type='text'>
In order to further reduce the scope of ndo_do_ioctl(), move
out the SIOCWANDEV handling into a new network device operation
function.

Adjust the prototype to only pass the if_settings sub-structure
in place of the ifreq, and remove the redundant 'cmd' argument
in the process.

Cc: Krzysztof Halasa &lt;khc@pm.waw.pl&gt;
Cc: "Jan \"Yenya\" Kasprzak" &lt;kas@fi.muni.cz&gt;
Cc: Kevin Curtis &lt;kevin.curtis@farsite.co.uk&gt;
Cc: Zhao Qiang &lt;qiang.zhao@nxp.com&gt;
Cc: Martin Schiller &lt;ms@dev.tdt.de&gt;
Cc: Jiri Slaby &lt;jirislaby@kernel.org&gt;
Cc: linux-x25@vger.kernel.org
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>wan: use ndo_siocdevprivate</title>
<updated>2021-07-27T19:11:44Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2021-07-27T13:45:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=73d74f61a559d8fc2266abfb95085bb7d1917a3e'/>
<id>urn:sha1:73d74f61a559d8fc2266abfb95085bb7d1917a3e</id>
<content type='text'>
The wan drivers each support some custom SIOCDEVPRIVATE
ioctls, plus the common SIOCWANDEV command.

Split these so the ioctl callback only deals with SIOCWANDEV
and the rest is handled by ndo_siocdevprivate.

It might make sense to also split out SIOCWANDEV into a
separate callback in order to eventually remove ndo_do_ioctl
entirely.

Cc: Krzysztof Halasa &lt;khc@pm.waw.pl&gt;
Cc: Kevin Curtis &lt;kevin.curtis@farsite.co.uk&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: c101: remove redundant spaces</title>
<updated>2021-06-21T19:37:28Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-06-19T07:28:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=41505d3f0f51329c959e92479ed1219a2e85f5c2'/>
<id>urn:sha1:41505d3f0f51329c959e92479ed1219a2e85f5c2</id>
<content type='text'>
According to the chackpatch.pl, no space before tabs.

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: c101: replace comparison to NULL with "!card"</title>
<updated>2021-06-21T19:37:28Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-06-19T07:28:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7774318b9e5eb8ecfb42be04d65ff8ac657b5faa'/>
<id>urn:sha1:7774318b9e5eb8ecfb42be04d65ff8ac657b5faa</id>
<content type='text'>
According to the chackpatch.pl, comparison to NULL could
be written "!card".

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: c101: add blank line after declarations</title>
<updated>2021-06-21T19:37:28Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-06-19T07:28:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4f7d2247f839c8cf266662a83238c85ef21ea9c6'/>
<id>urn:sha1:4f7d2247f839c8cf266662a83238c85ef21ea9c6</id>
<content type='text'>
This patch fixes the checkpatch error about missing a blank line
after declarations.

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wan: fix variable definition style</title>
<updated>2021-05-18T20:42:42Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-05-18T12:29:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a3f3e831dc2a5bf1b34c31be38b74bc7e38a2de7'/>
<id>urn:sha1:a3f3e831dc2a5bf1b34c31be38b74bc7e38a2de7</id>
<content type='text'>
Fix the checkpatch error: "foo* bar" should be "foo *bar".

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wan: remove redundant space</title>
<updated>2021-05-18T20:42:42Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-05-18T12:29:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=da8e6fddbae36e2cedd7802949d9c92e9fbf13a0'/>
<id>urn:sha1:da8e6fddbae36e2cedd7802949d9c92e9fbf13a0</id>
<content type='text'>
Space prohibited before that close parenthesis ')',
so removes the redundant space.

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wan: add some required spaces</title>
<updated>2021-05-18T20:42:42Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-05-18T12:29:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=23c235412411dd6f4d6069a882cb8e09e0d47f7d'/>
<id>urn:sha1:23c235412411dd6f4d6069a882cb8e09e0d47f7d</id>
<content type='text'>
Add space required before the open parenthesis '(',
and add spaces required around that '&lt;', '&gt;' and '!='.

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wan: remove redundant blank lines</title>
<updated>2021-05-18T20:42:42Z</updated>
<author>
<name>Peng Li</name>
<email>lipeng321@huawei.com</email>
</author>
<published>2021-05-18T12:29:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=78524c01edb24022098b4f3b49d6f74e1b3f4aa6'/>
<id>urn:sha1:78524c01edb24022098b4f3b49d6f74e1b3f4aa6</id>
<content type='text'>
This patch removes some redundant blank lines.

Signed-off-by: Peng Li &lt;lipeng321@huawei.com&gt;
Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>WAN: Replace HTTP links with HTTPS ones</title>
<updated>2020-07-13T23:58:01Z</updated>
<author>
<name>Alexander A. Klimov</name>
<email>grandmaster@al2klimov.de</email>
</author>
<published>2020-07-13T09:33:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ab2749592147cc310624c27470c2b63f820abaa9'/>
<id>urn:sha1:ab2749592147cc310624c27470c2b63f820abaa9</id>
<content type='text'>
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
	  If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            If both the HTTP and HTTPS versions
            return 200 OK and serve the same content:
              Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov &lt;grandmaster@al2klimov.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
