<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/xfrm, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-07-30T23:06:12Z</updated>
<entry>
<title>ipsec: Fix name of CAST algorithm</title>
<updated>2009-07-30T23:06:12Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2009-06-24T10:55:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a00433ce2410baac10a57649bc67a8822577c5f9'/>
<id>urn:sha1:a00433ce2410baac10a57649bc67a8822577c5f9</id>
<content type='text'>
[ Upstream commit 245acb87729bc76ba65c7476665c01837e0cdccb ]

Our CAST algorithm is called cast5, not cast128.  Clearly nobody
has ever used it :)

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>ipsec: Fix pskb_expand_head corruption in xfrm_state_check_space</title>
<updated>2008-09-30T09:03:19Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-09-30T09:03:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d01dbeb6af7a0848063033f73c3d146fec7451f3'/>
<id>urn:sha1:d01dbeb6af7a0848063033f73c3d146fec7451f3</id>
<content type='text'>
We're never supposed to shrink the headroom or tailroom.  In fact,
shrinking the headroom is a fatal action.

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>ipsec: Restore larval states and socket policies in dump</title>
<updated>2008-09-09T12:23:37Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-09-09T12:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=225f40055f779032974a9fce7b2f9c9eda04ff58'/>
<id>urn:sha1:225f40055f779032974a9fce7b2f9c9eda04ff58</id>
<content type='text'>
The commit commit 4c563f7669c10a12354b72b518c2287ffc6ebfb3 ("[XFRM]:
Speed up xfrm_policy and xfrm_state walking") inadvertently removed
larval states and socket policies from netlink dumps.  This patch
restores them.

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>ipsec: Fix deadlock in xfrm_state management.</title>
<updated>2008-09-03T03:14:15Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-09-03T03:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37b08e34a98c664bea86e3fae718ac45a46b7276'/>
<id>urn:sha1:37b08e34a98c664bea86e3fae718ac45a46b7276</id>
<content type='text'>
Ever since commit 4c563f7669c10a12354b72b518c2287ffc6ebfb3
("[XFRM]: Speed up xfrm_policy and xfrm_state walking") it is
illegal to call __xfrm_state_destroy (and thus xfrm_state_put())
with xfrm_state_lock held.  If we do, we'll deadlock since we
have the lock already and __xfrm_state_destroy() tries to take
it again.

Fix this by pushing the xfrm_state_put() calls after the lock
is dropped.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/xfrm: Use an IS_ERR test rather than a NULL test</title>
<updated>2008-09-03T00:24:28Z</updated>
<author>
<name>Julien Brunel</name>
</author>
<published>2008-09-03T00:24:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d7d74029e0f5fde3b88b39892b9b9cfdf4ea10a'/>
<id>urn:sha1:9d7d74029e0f5fde3b88b39892b9b9cfdf4ea10a</id>
<content type='text'>
In case of error, the function xfrm_bundle_create returns an ERR
pointer, but never returns a NULL pointer. So a NULL test that comes
after an IS_ERR test should be deleted.

The semantic match that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@match_bad_null_test@
expression x, E;
statement S1,S2;
@@
x =  xfrm_bundle_create(...)
... when != x = E
*  if (x != NULL) 
S1 else S2
// &lt;/smpl&gt;

Signed-off-by: Julien Brunel &lt;brunel@diku.dk&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>xfrm: remove unnecessary variable in xfrm_output_resume() 2nd try</title>
<updated>2008-08-13T20:35:37Z</updated>
<author>
<name>Jean-Christophe DUBOIS</name>
</author>
<published>2008-08-13T20:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1e24df27fb1058739789126db6ad1b1ef719346'/>
<id>urn:sha1:c1e24df27fb1058739789126db6ad1b1ef719346</id>
<content type='text'>
Small fix removing an unnecessary intermediate variable.

Signed-off-by: Jean-Christophe DUBOIS &lt;jcd@tribudubois.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: convert BUG_TRAP to generic WARN_ON</title>
<updated>2008-07-26T04:43:18Z</updated>
<author>
<name>Ilpo Järvinen</name>
</author>
<published>2008-07-26T04:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=547b792cac0a038b9dbf958d3c120df3740b5572'/>
<id>urn:sha1:547b792cac0a038b9dbf958d3c120df3740b5572</id>
<content type='text'>
Removes legacy reinvent-the-wheel type thing. The generic
machinery integrates much better to automated debugging aids
such as kerneloops.org (and others), and is unambiguous due to
better naming. Non-intuively BUG_TRAP() is actually equal to
WARN_ON() rather than BUG_ON() though some might actually be
promoted to BUG_ON() but I left that to future.

I could make at least one BUILD_BUG_ON conversion.

Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@helsinki.fi&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipsec: ipcomp - Decompress into frags if necessary</title>
<updated>2008-07-25T09:55:33Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-07-25T09:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d7e5a60c62e88cb8782760bb6c4d3bd1577a6c6'/>
<id>urn:sha1:7d7e5a60c62e88cb8782760bb6c4d3bd1577a6c6</id>
<content type='text'>
When decompressing extremely large packets allocating them through
kmalloc is prone to failure.  Therefore it's better to use page
frags instead.

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>ipsec: ipcomp - Merge IPComp implementations</title>
<updated>2008-07-25T09:54:40Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-07-25T09:54:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6fccab671f2f0a24b799f29a4ec878f62d34656c'/>
<id>urn:sha1:6fccab671f2f0a24b799f29a4ec878f62d34656c</id>
<content type='text'>
This patch merges the IPv4/IPv6 IPComp implementations since most
of the code is identical.  As a result future enhancements will no
longer need to be duplicated.

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>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>
</feed>
