<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux-bitkeeper.git/net/rose, branch master</title>
<subtitle>Linux Kernel BitKeeper History</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/atom?h=master</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/'/>
<updated>2005-03-26T17:04:49Z</updated>
<entry>
<title>[NET] make all protos partially use sk_prot</title>
<updated>2005-03-26T17:04:49Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@toy.ghostprotocols.net</email>
</author>
<published>2005-03-26T17:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=15d26df09084ff3a891a696efd0d56b52d852e24'/>
<id>urn:sha1:15d26df09084ff3a891a696efd0d56b52d852e24</id>
<content type='text'>
sk_alloc_slab becomes proto_register, that receives a struct proto not necessarily
completely filled, but at least with the proto name, owner and obj_size (aka proto
specific sock size), with this we can remove the struct sock sk_owner and sk_slab,
using sk-&gt;sk_prot-&gt;{owner,slab} instead.

This patch also makes sk_set_owner not necessary anymore, as at sk_alloc time we
have now access to the struct proto onwer and slab members, so we can bump the
module refcount exactly at sock allocation time. 

Another nice "side effect" is that this patch removes the generic sk_cachep slab
cache, making the only last two protocols that used it use just kmalloc, informing
a struct proto obj_size equal to sizeof(struct sock).

Ah, almost forgot that with this patch it is very easy to use a slab cache, as it is
now created at proto_register time, and all protocols need to use proto_register,
so its just a matter of switching the second parameter of proto_register to '1', heck,
this can be done even at module load time with some small additional patch. 

Another optimization that will be possible in the future is to move the sk_protocol
and sk_type struct sock members to struct proto, but this has to wait for all protocols
to move completely to sk_prot.

This changeset also introduces /proc/net/protocols, that lists the registered protocols
details, some may seem excessive, but I'd like to keep them while working on further 
struct sock hierarchy work and also to realize which protocols are old ones, i.e. that
still use struct proto_ops, etc, yeah, this is a bit of an exaggeration, as all protos
still use struct proto_ops, but in time the idea is to move all to use sk-&gt;sk_prot and
make the proto_ops infrastructure be shared among all protos, reducing one level of
indirection.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@conectiva.com.br&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge bk://kernel.bkbits.net/acme/net-2.6</title>
<updated>2005-03-23T04:32:50Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@sunset.davemloft.net</email>
</author>
<published>2005-03-23T04:32:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=3238eaf8e9fd210d1b248cec9506cd892db7ef64'/>
<id>urn:sha1:3238eaf8e9fd210d1b248cec9506cd892db7ef64</id>
<content type='text'>
into sunset.davemloft.net:/home/davem/src/BK/acme-2.6
</content>
</entry>
<entry>
<title>[ROSE]: Get rid of sk_protinfo use</title>
<updated>2005-03-23T03:16:37Z</updated>
<author>
<name>Ralf Bächle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2005-03-23T03:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=a75717a1b4880896b0e224572a6bf5586e2536a6'/>
<id>urn:sha1:a75717a1b4880896b0e224572a6bf5586e2536a6</id>
<content type='text'>
Below patch puts struct sock into rose_cb to get rid of the need for the
use of sk_protinfo in rose_sk().  While we're touching the data structure
convert it from a typedef into a struct.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET] use sk_acceptq_is_full</title>
<updated>2005-03-22T19:40:53Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@toy.ghostprotocols.net</email>
</author>
<published>2005-03-22T19:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=22d864d542a0b92116751186f1794c7d0f1ca1b9'/>
<id>urn:sha1:22d864d542a0b92116751186f1794c7d0f1ca1b9</id>
<content type='text'>
Replacing the open coded equivalent.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@conectiva.com.br&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET] Convert sk_debug into SOCK_DBG flag</title>
<updated>2005-03-16T01:05:30Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2005-03-16T01:05:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=cc008b4b048c81f5c63aef26ccbf73a1847851bc'/>
<id>urn:sha1:cc008b4b048c81f5c63aef26ccbf73a1847851bc</id>
<content type='text'>
Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET] Convert sk_zapped into SOCK_ZAPPED flag</title>
<updated>2005-03-16T00:50:36Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2005-03-16T00:50:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=3ad701b91f476c14cd094ed0874b68fac0f16e5e'/>
<id>urn:sha1:3ad701b91f476c14cd094ed0874b68fac0f16e5e</id>
<content type='text'>
Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[ROSE]: Fix minor security hole</title>
<updated>2005-03-10T11:47:08Z</updated>
<author>
<name>Ralf Bächle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2005-03-10T11:47:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=82bee3aebcc51dba2154746bd8a9d941162cec60'/>
<id>urn:sha1:82bee3aebcc51dba2154746bd8a9d941162cec60</id>
<content type='text'>
ROSE wasn't verifying the ndigis argument of a new route resulting in a
minor security hole.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETROM/ROSE]: Use netdev_priv()</title>
<updated>2005-02-15T01:28:16Z</updated>
<author>
<name>Ralf Bächle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2005-02-15T01:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=2607c88c227f3e7f1f397df6e7580673562c210b'/>
<id>urn:sha1:2607c88c227f3e7f1f397df6e7580673562c210b</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Lock initializer cleanup.</title>
<updated>2005-01-13T12:42:19Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2005-01-13T12:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=f202ec57159a7a0fb49ffd0a6aa80f8bf8ba8ad3'/>
<id>urn:sha1:f202ec57159a7a0fb49ffd0a6aa80f8bf8ba8ad3</id>
<content type='text'>
Use the new lock initializers DEFINE_SPIN_LOCk and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[ROSE]: Staticize and remove unused global functions.</title>
<updated>2004-12-27T12:49:18Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2004-12-27T12:49:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=1ebb100cb0140f6cfc3a3a4cb5b3de43cc41e9c9'/>
<id>urn:sha1:1ebb100cb0140f6cfc3a3a4cb5b3de43cc41e9c9</id>
<content type='text'>
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
