]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commit436a0a402203d5a47d2edf7e4dde6c08a7257983
treeb47e73326a2ff7dbf8ac3fbcb6c4acea5c06619d
parent83815dea47cf3e98ccbb6aecda08cba1ba91208f
[IPSEC]: Move output replay code into xfrm_output

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>
include/net/xfrm.h
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/xfrm/xfrm_output.c