<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/include/net/phonet/phonet.h, branch linux-4.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.15.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.15.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2017-10-07T22:15:08Z</updated>
<entry>
<title>net: phonet: mark phonet_protocol as const</title>
<updated>2017-10-07T22:15:08Z</updated>
<author>
<name>Lin Zhang</name>
<email>xiaolou4617@gmail.com</email>
</author>
<published>2017-10-05T17:40:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=548ec114705bb8f0879a0da12abec17f17a7cc26'/>
<id>urn:sha1:548ec114705bb8f0879a0da12abec17f17a7cc26</id>
<content type='text'>
The phonet_protocol structs don't need to be written by anyone and
so can be marked as const.

Signed-off-by: Lin Zhang &lt;xiaolou4617@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sock: struct proto hash function may error</title>
<updated>2016-02-11T08:54:14Z</updated>
<author>
<name>Craig Gallek</name>
<email>kraig@google.com</email>
</author>
<published>2016-02-10T16:50:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=086c653f5862591a9cfe2386f5650d03adacc33a'/>
<id>urn:sha1:086c653f5862591a9cfe2386f5650d03adacc33a</id>
<content type='text'>
In order to support fast reuseport lookups in TCP, the hash function
defined in struct proto must be capable of returning an error code.
This patch changes the function signature of all related hash functions
to return an integer and handles or propagates this return value at
all call sites.

Signed-off-by: Craig Gallek &lt;kraig@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: implement per-socket destination/peer address</title>
<updated>2011-02-25T19:19:35Z</updated>
<author>
<name>Rémi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2011-02-24T23:14:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a8059512b120362b15424f152b2548fe8b11bd0c'/>
<id>urn:sha1:a8059512b120362b15424f152b2548fe8b11bd0c</id>
<content type='text'>
Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>phonet: some signedness bugs</title>
<updated>2011-01-10T21:33:17Z</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2011-01-10T04:06:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=facb4edc1e0e849ea98e147a821e60d6d6272c0a'/>
<id>urn:sha1:facb4edc1e0e849ea98e147a821e60d6d6272c0a</id>
<content type='text'>
Dan Rosenberg pointed out that there were some signed comparison bugs
in the phonet protocol.

http://marc.info/?l=full-disclosure&amp;m=129424528425330&amp;w=2

The problem is that we check for array overflows but "protocol" is
signed and we don't check for array underflows.  If you have already
have CAP_SYS_ADMIN then you could use the bugs to get root, or someone
could cause an oops by mistake.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Acked-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: resource routing backend</title>
<updated>2010-09-16T04:31:32Z</updated>
<author>
<name>Rémi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2010-09-15T12:30:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4e3d16ce5e82648d7f4dfd28b6cf8fe2e9a9efc3'/>
<id>urn:sha1:4e3d16ce5e82648d7f4dfd28b6cf8fe2e9a9efc3</id>
<content type='text'>
When both destination device and object are nul, Phonet routes the
packet according to the resource field. In fact, this is the most
common pattern when sending Phonet "request" packets. In this case,
the packet is delivered to whichever endpoint (socket) has
registered the resource.

This adds a new table so that Linux processes can register their
Phonet sockets to Phonet resources, if they have adequate privileges.

(Namespace support is not implemented at the moment.)

Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: put sockets in a hash table</title>
<updated>2009-11-11T04:54:33Z</updated>
<author>
<name>Rémi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2009-11-09T02:17:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6b0d07ba152893b40f1014a9db8da5aa564aa00e'/>
<id>urn:sha1:6b0d07ba152893b40f1014a9db8da5aa564aa00e</id>
<content type='text'>
Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: deliver broadcast packets to broadcast sockets</title>
<updated>2009-10-14T22:04:15Z</updated>
<author>
<name>Rémi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2009-10-14T00:48:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f14001fcd7bd03983c872810a3b11af4148bae72'/>
<id>urn:sha1:f14001fcd7bd03983c872810a3b11af4148bae72</id>
<content type='text'>
Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: allow phonet_device_init() to fail, put it to __init section</title>
<updated>2009-01-27T05:03:34Z</updated>
<author>
<name>remi.denis-courmont@nokia</name>
<email>remi.denis-courmont@nokia</email>
</author>
<published>2009-01-23T03:00:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=76e02cf6945e6faa9f6b546dc0513512197c5966'/>
<id>urn:sha1:76e02cf6945e6faa9f6b546dc0513512197c5966</id>
<content type='text'>
Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: basic net namespace support</title>
<updated>2008-12-03T23:42:56Z</updated>
<author>
<name>Rémi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2008-12-03T23:42:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=52404881984e2d447f920a23e3bb63262dfc77f3'/>
<id>urn:sha1:52404881984e2d447f920a23e3bb63262dfc77f3</id>
<content type='text'>
Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Phonet: include generic link-layer header size in MAX_PHONET_HEADER</title>
<updated>2008-10-27T06:06:31Z</updated>
<author>
<name>Remi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2008-10-27T06:06:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e214a8cc7a81f20ed7cb4f6373cf15048556bbac'/>
<id>urn:sha1:e214a8cc7a81f20ed7cb4f6373cf15048556bbac</id>
<content type='text'>
This fixes an OOPS in hard_header if a Phonet address is assigned to a
non-Phonet network interface.

Signed-off-by: Remi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
