kernel-ark/net
Patrick McHardy 16a6677fdf [XFRM]: Netfilter IPsec output hooks
Call netfilter hooks before IPsec transforms. Packets visit the
FORWARD/LOCAL_OUT and POST_ROUTING hook before the first encapsulation
and the LOCAL_OUT and POST_ROUTING hook before each following tunnel mode
transform.

Patch from Herbert Xu <herbert@gondor.apana.org.au>:

Move the loop from dst_output into xfrm4_output/xfrm6_output since they're
the only ones who need to it. xfrm{4,6}_output_one() processes the first SA
all subsequent transport mode SAs and is called in a loop that calls the
netfilter hooks between each two calls.

In order to avoid the tail call issue, I've added the inline function
nf_hook which is nf_hook_slow plus the empty list check.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-01-07 12:57:28 -08:00
..
802
8021q
appletalk
atm [NET]: Use newer is_multicast_ether_addr() in some files 2006-01-06 13:05:58 -08:00
ax25
bluetooth
bridge [BRIDGE] netfilter: vlan + hw checksum = bug? 2006-01-06 13:13:29 -08:00
core [NET]: Endian-annotate in_aton() 2006-01-06 13:24:54 -08:00
dccp [DCCP]: ipv6.c needs net/ip6_checksum.c 2006-01-07 12:57:26 -08:00
decnet
econet
ethernet [NET]: Use newer is_multicast_ether_addr() in some files 2006-01-06 13:05:58 -08:00
ieee80211
ipv4 [XFRM]: Netfilter IPsec output hooks 2006-01-07 12:57:28 -08:00
ipv6 [XFRM]: Netfilter IPsec output hooks 2006-01-07 12:57:28 -08:00
ipx
irda
key
lapb
llc
netfilter
netlink
netrom
packet
rose
rxrpc
sched
sctp
sunrpc SUNRPC: Make krb5 report unsupported encryption types 2006-01-06 14:59:00 -05:00
unix
wanrouter
x25 [X25]: Fix for broken x25 module. 2006-01-06 13:11:35 -08:00
xfrm [LSM-IPSec]: Corrections to LSM-IPSec Nethooks 2006-01-06 13:22:39 -08:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE