<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/can/raw.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-07-20T05:34:43Z</updated>
<entry>
<title>netns: Use net_eq() to compare net-namespaces for optimization.</title>
<updated>2008-07-20T05:34:43Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2008-07-20T05:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=721499e8931c5732202481ae24f2dfbf9910f129'/>
<id>urn:sha1:721499e8931c5732202481ae24f2dfbf9910f129</id>
<content type='text'>
Without CONFIG_NET_NS, namespace is always &amp;init_net.
Compiler will be able to omit namespace comparisons with this patch.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: add sanity checks</title>
<updated>2008-07-06T06:38:43Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2008-07-06T06:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f2d38eb7a42bea1c1df51bbdaa2ca0f0bdda07f'/>
<id>urn:sha1:7f2d38eb7a42bea1c1df51bbdaa2ca0f0bdda07f</id>
<content type='text'>
Even though the CAN netlayer only deals with CAN netdevices, the 
netlayer interface to the userspace and to the device layer should 
perform some sanity checks.

This patch adds several sanity checks that mainly prevent userspace apps 
to send broken content into the system that may be misinterpreted by 
some other userspace application.

Signed-off-by: Oliver Hartkopp &lt;oliver.hartkopp@volkswagen.de&gt;
Signed-off-by: Urs Thuermann &lt;urs.thuermann@volkswagen.de&gt;
Acked-by: Andre Naujoks &lt;nautsch@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: Fix copy_from_user() results interpretation</title>
<updated>2008-04-27T21:26:51Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2008-04-27T05:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f91bd420a955803421f2db17b2e04aacfbb2bb8'/>
<id>urn:sha1:3f91bd420a955803421f2db17b2e04aacfbb2bb8</id>
<content type='text'>
Both copy_to_ and _from_user return the number of bytes, that failed to
reach their destination, not the 0/-EXXX values.

Based on patch from Pavel Emelyanov &lt;xemul@openvz.org&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Oliver Hartkopp &lt;oliver.hartkopp@volkswagen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Fix wrong interpretation of some copy_to_user() results.</title>
<updated>2008-04-25T08:49:48Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-04-25T08:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=653252c2302cdf2dfbca66a7e177f7db783f9efa'/>
<id>urn:sha1:653252c2302cdf2dfbca66a7e177f7db783f9efa</id>
<content type='text'>
I found some places, that erroneously return the value obtained from
the copy_to_user() call: if some amount of bytes were not able to get
to the user (this is what this one returns) the proper behavior is to
return the -EFAULT error, not that number itself.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET] NETNS: Omit net_device-&gt;nd_net without CONFIG_NET_NS.</title>
<updated>2008-03-25T19:39:53Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2008-03-25T12:47:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c346dca10840a874240c78efe3f39acf4312a1f2'/>
<id>urn:sha1:c346dca10840a874240c78efe3f39acf4312a1f2</id>
<content type='text'>
Introduce per-net_device inlines: dev_net(), dev_net_set().
Without CONFIG_NET_NS, no namespace other than &amp;init_net exists.
Let's explicitly define them to help compiler optimizations.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
<entry>
<title>[CAN]: Minor clean-ups</title>
<updated>2008-02-08T02:05:04Z</updated>
<author>
<name>Urs Thuermann</name>
</author>
<published>2008-02-08T02:05:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a219994bf5cca1208fb741b20ea9eb78e1711f81'/>
<id>urn:sha1:a219994bf5cca1208fb741b20ea9eb78e1711f81</id>
<content type='text'>
Remove unneeded variable.
Rename local variable error to err like in all other places.
Some white-space changes.

Signed-off-by: Urs Thuermann &lt;urs.thuermann@volkswagen.de&gt;
Signed-off-by: Oliver Hartkopp &lt;oliver.hartkopp@volkswagen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CAN]: Add raw protocol</title>
<updated>2008-01-28T22:54:10Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2007-11-16T23:53:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c18ce101f2e47d97ace125033e2896895a6db3dd'/>
<id>urn:sha1:c18ce101f2e47d97ace125033e2896895a6db3dd</id>
<content type='text'>
This patch adds the CAN raw protocol.

Signed-off-by: Oliver Hartkopp &lt;oliver.hartkopp@volkswagen.de&gt;
Signed-off-by: Urs Thuermann &lt;urs.thuermann@volkswagen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
