<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/ah4.c, 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>2008-02-13T06:50:35Z</updated>
<entry>
<title>[IPSEC]: Fix bogus usage of u64 on input sequence number</title>
<updated>2008-02-13T06:50:35Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-02-13T06:50:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b318e0e4ef4e85812c25afa19f75addccc834cd4'/>
<id>urn:sha1:b318e0e4ef4e85812c25afa19f75addccc834cd4</id>
<content type='text'>
Al Viro spotted a bogus use of u64 on the input sequence number which
is big-endian.  This patch fixes it by giving the input sequence number
its own member in the xfrm_skb_cb structure.

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>
</author>
<published>2008-01-31T03:11:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>[IPSEC]: Move all calls to xfrm_audit_state_icvfail to xfrm_input</title>
<updated>2008-01-28T23:00:10Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-12-31T05:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9dd3245a2ac1834797191072705015e6a12f55bf'/>
<id>urn:sha1:9dd3245a2ac1834797191072705015e6a12f55bf</id>
<content type='text'>
Let's nip the code duplication in the bud :)

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]: RFC4303 compliant auditing</title>
<updated>2008-01-28T23:00:01Z</updated>
<author>
<name>Paul Moore</name>
</author>
<published>2007-12-21T22:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afeb14b49098ba7a51c96e083a4105a0301f94c4'/>
<id>urn:sha1:afeb14b49098ba7a51c96e083a4105a0301f94c4</id>
<content type='text'>
This patch adds a number of new IPsec audit events to meet the auditing
requirements of RFC4303.  This includes audit hooks for the following events:

 * Could not find a valid SA [sections 2.1, 3.4.2]
   . xfrm_audit_state_notfound()
   . xfrm_audit_state_notfound_simple()

 * Sequence number overflow [section 3.3.3]
   . xfrm_audit_state_replay_overflow()

 * Replayed packet [section 3.4.3]
   . xfrm_audit_state_replay()

 * Integrity check failure [sections 3.4.4.1, 3.4.4.2]
   . xfrm_audit_state_icvfail()

While RFC4304 deals only with ESP most of the changes in this patch apply to
IPsec in general, i.e. both AH and ESP.  The one case, integrity check
failure, where ESP specific code had to be modified the same was done to the
AH code for the sake of consistency.

Signed-off-by: Paul Moore &lt;paul.moore@hp.com&gt;
Acked-by: James Morris &lt;jmorris@namei.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPSEC]: Move state lock into x-&gt;type-&gt;input</title>
<updated>2008-01-28T22:53:52Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-11-14T05:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ebea8ef3559b545c37b016f44e84c3b33e47c39'/>
<id>urn:sha1:0ebea8ef3559b545c37b016f44e84c3b33e47c39</id>
<content type='text'>
This patch releases the lock on the state before calling
x-&gt;type-&gt;input.  It also adds the lock to the spots where they're
currently needed.

Most of those places (all except mip6) are expected to disappear with
async crypto.

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]: Move integrity stat collection into xfrm_input</title>
<updated>2008-01-28T22:53:51Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-12-16T23:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=668dc8af3150f837f7f0461001bbbc0ce25d7bdf'/>
<id>urn:sha1:668dc8af3150f837f7f0461001bbbc0ce25d7bdf</id>
<content type='text'>
Similar to the moving out of the replay processing on the output, this
patch moves the integrity stat collectin from x-&gt;type-&gt;input into
xfrm_input.

This would eventually allow transforms such as AH/ESP to be lockless.

The error value EBADMSG (currently unused in the crypto layer) is used
to indicate a failed integrity check.  In future this error can be
directly returned by the crypto layer once we switch to aead
algorithms.

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>
</author>
<published>2007-10-30T09:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
<entry>
<title>[IPSEC]: Move IP protocol setting from transforms into xfrm4_input.c</title>
<updated>2007-10-10T23:55:56Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-10-10T22:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=631a6698d09e57cadc069914d613899609a0ae83'/>
<id>urn:sha1:631a6698d09e57cadc069914d613899609a0ae83</id>
<content type='text'>
This patch makes the IPv4 x-&gt;type-&gt;input functions return the next protocol
instead of setting it directly.  This is identical to how we do things in
IPv6 and will help us merge common code on the input path.

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]: Move IP length/checksum setting out of transforms</title>
<updated>2007-10-10T23:55:56Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-10-10T22:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ceb1eec8291175686d0208e66595ff83bc0624e2'/>
<id>urn:sha1:ceb1eec8291175686d0208e66595ff83bc0624e2</id>
<content type='text'>
This patch moves the setting of the IP length and checksum fields out of
the transforms and into the xfrmX_output functions.  This would help future
efforts in merging the transforms themselves.

It also adds an optimisation to ipcomp due to the fact that the transport
offset is guaranteed to be zero.

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]: Get rid of ipv6_{auth,esp,comp}_hdr</title>
<updated>2007-10-10T23:55:55Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-10-10T22:45:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87bdc48d304191313203df9b98d783e1ab5a55ab'/>
<id>urn:sha1:87bdc48d304191313203df9b98d783e1ab5a55ab</id>
<content type='text'>
This patch removes the duplicate ipv6_{auth,esp,comp}_hdr structures since
they're identical to the IPv4 versions.  Duplicating them would only create
problems for ourselves later when we need to add things like extended
sequence numbers.

I've also added transport header type conversion headers for these types
which are now used by the transforms.

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