linux/net/ipv6
Herbert Xu 31a4ab9302 [IPSEC] proto: Move transport mode input path into xfrm_mode_transport
Now that we have xfrm_mode objects we can move the transport mode specific
input decapsulation code into xfrm_mode_transport.  This removes duplicate
code as well as unnecessary header movement in case of tunnel mode SAs
since we will discard the original IP header immediately.

This also fixes a minor bug for transport-mode ESP where the IP payload
length is set to the correct value minus the header length (with extension
headers for IPv6).

Of course the other neat thing is that we no longer have to allocate
temporary buffers to hold the IP headers for ESP and IPComp.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-17 21:28:41 -07:00
..
netfilter [NETFILTER]: Fix do_add_counters race, possible oops or info leak (CVE-2006-0039) 2006-05-19 02:16:52 -07:00
Kconfig [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
Makefile [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
addrconf.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
af_inet6.c
ah6.c [IPSEC] proto: Move transport mode input path into xfrm_mode_transport 2006-06-17 21:28:41 -07:00
anycast.c
datagram.c
esp6.c [IPSEC] proto: Move transport mode input path into xfrm_mode_transport 2006-06-17 21:28:41 -07:00
exthdrs.c [IPV6]: Clean up hop-by-hop options handler. 2006-04-18 15:57:53 -07:00
exthdrs_core.c
icmp.c [PATCH] for_each_possible_cpu: network codes 2006-04-11 06:18:31 -07:00
inet6_connection_sock.c [IPV6]: skb leakage in inet6_csk_xmit 2006-05-10 13:24:38 -07:00
inet6_hashtables.c [IPV6]: Deinline few large functions in inet6 code 2006-04-09 22:48:59 -07:00
ip6_fib.c
ip6_flowlabel.c
ip6_input.c [IPV6]: Clean up hop-by-hop options handler. 2006-04-18 15:57:53 -07:00
ip6_output.c [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
ip6_tunnel.c [INET]: Move no-tunnel ICMP error to tunnel4/tunnel6 2006-04-09 22:25:25 -07:00
ipcomp6.c [IPSEC] proto: Move transport mode input path into xfrm_mode_transport 2006-06-17 21:28:41 -07:00
ipv6_sockglue.c
ipv6_syms.c
mcast.c
ndisc.c
netfilter.c [NETFILTER]: Fix build with CONFIG_NETFILTER=y/m on IA64 2006-04-09 22:25:49 -07:00
proc.c [PATCH] for_each_possible_cpu: network codes 2006-04-11 06:18:31 -07:00
protocol.c
raw.c
reassembly.c [IPv6] reassembly: Always compute hash under the fragment lock. 2006-04-11 17:21:05 -07:00
route.c [IPV6] ROUTE: Don't try less preferred routes for on-link routes. 2006-05-26 13:23:41 -07:00
sit.c [INET]: Use port unreachable instead of proto for tunnels 2006-04-09 22:25:29 -07:00
sysctl_net_ipv6.c
tcp_ipv6.c [I/OAT]: TCP recv offload to I/OAT 2006-06-17 21:25:56 -07:00
tunnel6.c [INET]: Move no-tunnel ICMP error to tunnel4/tunnel6 2006-04-09 22:25:25 -07:00
udp.c
xfrm6_input.c [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
xfrm6_mode_transport.c [IPSEC] proto: Move transport mode input path into xfrm_mode_transport 2006-06-17 21:28:41 -07:00
xfrm6_mode_tunnel.c [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
xfrm6_output.c [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
xfrm6_policy.c [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
xfrm6_state.c [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
xfrm6_tunnel.c [IPSEC]: Kill unused decap state argument 2006-04-01 00:52:46 -08:00