[IPSEC]: Move IP protocol setting from transforms into xfrm4_input.c
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Oct 2007 22:46:21 +0000 (15:46 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:56 +0000 (16:55 -0700)
commit631a6698d09e57cadc069914d613899609a0ae83
tree7e915991e7dea60077e2f160908820c90e34fb18
parentceb1eec8291175686d0208e66595ff83bc0624e2
[IPSEC]: Move IP protocol setting from transforms into xfrm4_input.c

This patch makes the IPv4 x->type->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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv4/ipcomp.c
net/ipv4/xfrm4_input.c
net/ipv4/xfrm4_tunnel.c