]> err.no Git - linux-2.6/commitdiff
[IPSEC]: Move output replay code into xfrm_output
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Oct 2007 00:25:53 +0000 (17:25 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:54 +0000 (16:54 -0700)
The replay counter is one of only two remaining things in the output code
that requires a lock on the xfrm state (the other being the crypto).  This
patch moves it into the generic xfrm_output so we can remove the lock from
the transforms themselves.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found