linux-kernel-test/net/xfrm
Herbert Xu 007f0211a8 [IPSEC]: Store IPv6 nh pointer in mac_header on output
Current the x->mode->output functions store the IPv6 nh pointer in the
skb network header.  This is inconvenient because the network header then
has to be fixed up before the packet can leave the IPsec stack.  The mac
header field is unused on output so we can use that to store this instead.

This patch does that and removes the network header fix-up in xfrm_output.

It also uses ipv6_hdr where appropriate in the x->type->output functions.

There is also a minor clean-up in esp4 to make it use the same code as
esp6 to help any subsequent effort to merge the two.

Lastly it kills two redundant skb_set_* statements in BEET that were
simply copied over from transport mode.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:55:00 -07:00
..
Kconfig [PFKEYV2]: CONFIG_NET_KEY_MIGRATE option 2007-02-08 13:15:05 -08:00
Makefile [IPSEC]: Move common output code to xfrm_output 2007-10-10 16:54:53 -07:00
xfrm_algo.c [IPSEC]: Fix warnings with casting int to pointer 2007-05-22 16:12:26 -07:00
xfrm_hash.c [IPSEC]: Don't warn if high-order hash resize fails 2007-05-14 02:19:11 -07:00
xfrm_hash.h [XFRM] STATE: Use destination address for src hash. 2006-10-04 00:31:02 -07:00
xfrm_input.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
xfrm_output.c [IPSEC]: Store IPv6 nh pointer in mac_header on output 2007-10-10 16:55:00 -07:00
xfrm_policy.c [IPSEC]: Remove bogus ref count in xfrm_secpath_reject 2007-10-10 16:54:59 -07:00
xfrm_state.c [IPSEC]: Unexport xfrm_replay_notify 2007-10-10 16:54:55 -07:00
xfrm_user.c [NETLINK]: Avoid pointer in netlink_run_queue 2007-10-10 16:51:24 -07:00