<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/xfrm, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-08T20:01:14Z</updated>
<entry>
<title>IPSEC: Fix potential dst leak in xfrm_lookup</title>
<updated>2008-02-08T20:01:14Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-12-20T00:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c8db29a2f48adf8c015e0bca16ff34f2b53a34b'/>
<id>urn:sha1:1c8db29a2f48adf8c015e0bca16ff34f2b53a34b</id>
<content type='text'>
[IPSEC]: Fix potential dst leak in xfrm_lookup

[ Upstream commit: 75b8c133267053c9986a7c8db5131f0e7349e806 ]

If we get an error during the actual policy lookup we don't free the
original dst while the caller expects us to always free the original
dst in case of error.

This patch fixes that.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>XFRM: Fix leak of expired xfrm_states</title>
<updated>2007-12-14T17:51:16Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-11-29T12:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9aa67118c51d60af7b048be6e4a8b8bad2191555'/>
<id>urn:sha1:9aa67118c51d60af7b048be6e4a8b8bad2191555</id>
<content type='text'>
[XFRM]: Fix leak of expired xfrm_states

[ Upstream commit: 5dba4797115c8fa05c1a4d12927a6ae0b33ffc41 ]

The xfrm_timer calls __xfrm_state_delete, which drops the final reference
manually without triggering destruction of the state. Change it to use
xfrm_state_put to add the state to the gc list when we're dropping the
last reference. The timer function may still continue to use the state
safely since the final destruction does a del_timer_sync().

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[XFRM]: Clean up duplicate includes in net/xfrm/</title>
<updated>2007-08-14T05:52:08Z</updated>
<author>
<name>Jesper Juhl</name>
</author>
<published>2007-08-10T22:20:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5890d8ba47741425fe3c0d753e1b57bc0561b7b'/>
<id>urn:sha1:b5890d8ba47741425fe3c0d753e1b57bc0561b7b</id>
<content type='text'>
This patch cleans up duplicate includes in
	net/xfrm/

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Net/Security: fix memory leaks from security_secid_to_secctx()</title>
<updated>2007-08-02T15:52:26Z</updated>
<author>
<name>Paul Moore</name>
</author>
<published>2007-08-01T15:12:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6e0871cce2ae04f5790543ad2f4ec36b23260ba'/>
<id>urn:sha1:e6e0871cce2ae04f5790543ad2f4ec36b23260ba</id>
<content type='text'>
The security_secid_to_secctx() function returns memory that must be freed
by a call to security_release_secctx() which was not always happening.  This
patch fixes two of these problems (all that I could find in the kernel source
at present).

Signed-off-by: Paul Moore &lt;paul.moore@hp.com&gt;
Acked-by:  Stephen Smalley &lt;sds@tycho.nsa.gov&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>[XFRM]: State selection update to use inner addresses.</title>
<updated>2007-07-31T09:28:33Z</updated>
<author>
<name>Joakim Koskela</name>
</author>
<published>2007-07-26T07:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48b8d78315bf2aef4b6b4fb41c2c94e0b6600234'/>
<id>urn:sha1:48b8d78315bf2aef4b6b4fb41c2c94e0b6600234</id>
<content type='text'>
This patch modifies the xfrm state selection logic to use the inner
addresses where the outer have been (incorrectly) used. This is
required for beet mode in general and interfamily setups in both
tunnel and beet mode.

Signed-off-by: Joakim Koskela &lt;jookos@gmail.com&gt;
Signed-off-by: Herbert Xu     &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Diego Beltrami &lt;diego.beltrami@gmail.com&gt;
Signed-off-by: Miika Komu     &lt;miika@iki.fi&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPSEC]: Ensure that state inner family is set</title>
<updated>2007-07-31T09:28:32Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-07-31T09:04:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=196b003620f1ee8d0fc63f13f341187d63c1dc0a'/>
<id>urn:sha1:196b003620f1ee8d0fc63f13f341187d63c1dc0a</id>
<content type='text'>
Similar to the issue we had with template families which
specified the inner families of policies, we need to set
the inner families of states as the main xfrm user Openswan
leaves it as zero.

af_key is unaffected because the inner family is set by it
and not the KM.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mm: Remove slab destructors from kmem_cache_create().</title>
<updated>2007-07-20T01:11:58Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2007-07-20T01:11:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20c2df83d25c6a95affe6157a4c9cac4cf5ffaac'/>
<id>urn:sha1:20c2df83d25c6a95affe6157a4c9cac4cf5ffaac</id>
<content type='text'>
Slab destructors were no longer supported after Christoph's
c59def9f222d44bb7e2f0a559f2906191a0862d7 change. They've been
BUGs for both slab and slub, and slob never supported them
either.

This rips out support for the dtor pointer from kmem_cache_create()
completely and fixes up every single callsite in the kernel (there were
about 224, not including the slab allocator definitions themselves,
or the documentation references).

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>[NET] XFRM: Fix whitespace errors.</title>
<updated>2007-07-19T01:45:15Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2007-07-19T01:45:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7dc12d6dd6cc1aa489c6f3e34a75e8023c945da8'/>
<id>urn:sha1:7dc12d6dd6cc1aa489c6f3e34a75e8023c945da8</id>
<content type='text'>
Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
<entry>
<title>[XFRM]: Fix crash introduced by struct dst_entry reordering</title>
<updated>2007-07-18T08:55:52Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-07-18T08:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd0bf0765ea1fba80d7085e1f0375ec045631dc1'/>
<id>urn:sha1:bd0bf0765ea1fba80d7085e1f0375ec045631dc1</id>
<content type='text'>
XFRM expects xfrm_dst-&gt;u.next to be same pointer as dst-&gt;next, which
was broken by the dst_entry reordering in commit 1e19e02c~, causing
an oops in xfrm_bundle_ok when walking the bundle upwards.

Kill xfrm_dst-&gt;u.next and change the only user to use dst-&gt;next instead.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[XFRM] Introduce standalone SAD lookup</title>
<updated>2007-07-11T05:16:35Z</updated>
<author>
<name>Jamal Hadi Salim</name>
</author>
<published>2007-07-03T05:41:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=628529b6ee334fedc8d25ce56205bb99566572b9'/>
<id>urn:sha1:628529b6ee334fedc8d25ce56205bb99566572b9</id>
<content type='text'>
This allows other in-kernel functions to do SAD lookups.
The only known user at the moment is pktgen.

Signed-off-by: Jamal Hadi Salim &lt;hadi@cyberus.ca&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
