<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/ipv4/ipcomp.c, branch v2.6.28</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.28</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-07-27T10:59:24Z</updated>
<entry>
<title>ipcomp: Fix warnings after ipcomp consolidation.</title>
<updated>2008-07-27T10:59:24Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-07-27T10:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2c3abab7c95295f319dc8899b74cbd60140fcdfb'/>
<id>urn:sha1:2c3abab7c95295f319dc8899b74cbd60140fcdfb</id>
<content type='text'>
net/ipv4/ipcomp.c: In function â€˜ipcomp4_init_stateâ€™:
net/ipv4/ipcomp.c:109: warning: unused variable â€˜calg_descâ€™
net/ipv4/ipcomp.c:108: warning: unused variable â€˜ipcdâ€™
net/ipv4/ipcomp.c:107: warning: â€˜errâ€™ may be used uninitialized in this function
net/ipv6/ipcomp6.c: In function â€˜ipcomp6_init_stateâ€™:
net/ipv6/ipcomp6.c:139: warning: unused variable â€˜calg_descâ€™
net/ipv6/ipcomp6.c:138: warning: unused variable â€˜ipcdâ€™
net/ipv6/ipcomp6.c:137: warning: â€˜errâ€™ may be used uninitialized in this function

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>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2008-07-25T09:54:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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>net: Remove unnecessary inclusions of asm/semaphore.h</title>
<updated>2008-04-19T02:15:50Z</updated>
<author>
<name>Matthew Wilcox</name>
<email>matthew@wil.cx</email>
</author>
<published>2008-04-19T02:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5f090dcb4d4fff373ce7165bce4ba5e87534d50a'/>
<id>urn:sha1:5f090dcb4d4fff373ce7165bce4ba5e87534d50a</id>
<content type='text'>
None of these files use any of the functionality promised by
asm/semaphore.h.  It's possible that they rely on it dragging in some
unrelated header file, but I can't build all these files, so we'll have
fix any build failures as they come up.

Signed-off-by: Matthew Wilcox &lt;willy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.</title>
<updated>2008-04-14T11:09:00Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2008-04-14T11:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a7d632b6b4ad1c92746ed409e41f9dc571ec04e2'/>
<id>urn:sha1:a7d632b6b4ad1c92746ed409e41f9dc571ec04e2</id>
<content type='text'>
And use %u to format port.

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>[IPCOMP]: Disable BH on output when using shared tfm</title>
<updated>2008-02-28T19:23:17Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2008-02-28T19:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=21e43188f272c7fd9efc84b8244c0b1dfccaa105'/>
<id>urn:sha1:21e43188f272c7fd9efc84b8244c0b1dfccaa105</id>
<content type='text'>
Because we use shared tfm objects in order to conserve memory,
(each tfm requires 128K of vmalloc memory), BH needs to be turned
off on output as that can occur in process context.

Previously this was done implicitly by the xfrm output code.
That was lost when it became lockless.  So we need to add the
BH disabling to IPComp directly.

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>[XFRM]: constify 'struct xfrm_type'</title>
<updated>2008-02-01T03:27:20Z</updated>
<author>
<name>Eric Dumazet</name>
<email>dada1@cosmosbay.com</email>
</author>
<published>2008-01-31T03:11:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=533cb5b0a63f28ecab5503cfceb77e641fa7f7c4'/>
<id>urn:sha1:533cb5b0a63f28ecab5503cfceb77e641fa7f7c4</id>
<content type='text'>
Signed-off-by: Eric Dumazet &lt;dada1@cosmosbay.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPCOMP]: Fetch nexthdr before ipch is destroyed</title>
<updated>2008-02-01T03:27:11Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2008-01-30T05:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2614fa59fa805cd488083c5602eb48533cdbc018'/>
<id>urn:sha1:2614fa59fa805cd488083c5602eb48533cdbc018</id>
<content type='text'>
When I moved the nexthdr setting out of IPComp I accidently moved
the reading of ipch-&gt;nexthdr after the decompression.  Unfortunately
this means that we'd be reading from a stale ipch pointer which
doesn't work very well.

This patch moves the reading up so that we get the correct nexthdr
value.

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]: Forbid BEET + ipcomp for now</title>
<updated>2008-01-28T22:53:43Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-11-14T05:39:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e40b3286158565909692e5914ea4a11bdbcc68c8'/>
<id>urn:sha1:e40b3286158565909692e5914ea4a11bdbcc68c8</id>
<content type='text'>
While BEET can theoretically work with IPComp the current code can't
do that because it tries to construct a BEET mode tunnel type which
doesn't (and cannot) exist.  In fact as it is it won't even attach a
tunnel object at all for BEET which is bogus.

To support this fully we'd also need to change the policy checks on
input to recognise a plain tunnel as a legal variant of an optional
BEET transform.

This patch simply fails such constructions for now.

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 crypto_alloc_comp error checking</title>
<updated>2007-11-07T12:15:03Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-11-07T10:21:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4999f3621f4da622e77931b3d33ada6c7083c705'/>
<id>urn:sha1:4999f3621f4da622e77931b3d33ada6c7083c705</id>
<content type='text'>
The function crypto_alloc_comp returns an errno instead of NULL
to indicate error.  So it needs to be tested with IS_ERR.

This is based on a patch by Vicenç Beltran Querol.

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>cleanup asm/scatterlist.h includes</title>
<updated>2007-11-02T07:47:06Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2007-10-30T09:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=87ae9afdcada236d0a1b38ce2c465a65916961dc'/>
<id>urn:sha1:87ae9afdcada236d0a1b38ce2c465a65916961dc</id>
<content type='text'>
Not architecture specific code should not #include &lt;asm/scatterlist.h&gt;.

This patch therefore either replaces them with
#include &lt;linux/scatterlist.h&gt; or simply removes them if they were
unused.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
</feed>
