]> git.baikalelectronics.ru Git - kernel.git/commit
[IPSEC]: Kill unused decap state argument
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 1 Apr 2006 08:52:46 +0000 (00:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Apr 2006 08:52:46 +0000 (00:52 -0800)
commit636f2a0062f044c669bc2d35a7b686eb70f6c14f
tree52a679683a11eb42ec5888309a82ec5811a21e03
parent072d3ea370f8403af9ce365b480702adcaeb6a00
[IPSEC]: Kill unused decap state argument

This patch removes the decap_state argument from the xfrm input hook.
Previously this function allowed the input hook to share state with
the post_input hook.  The latter has since been removed.

The only purpose for it now is to check the encap type.  However, it
is easier and better to move the encap type check to the generic
xfrm_rcv function.  This allows us to get rid of the decap state
argument altogether.

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/ipv4/ipcomp.c
net/ipv4/xfrm4_input.c
net/ipv4/xfrm4_tunnel.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/ipv6/ipcomp6.c
net/ipv6/xfrm6_input.c
net/ipv6/xfrm6_tunnel.c