kernel-hacking-2024-linux-s.../net/core
Herbert Xu 13996378e6 [IPSEC]: Rename mode to outer_mode and add inner_mode
This patch adds a new field to xfrm states called inner_mode.  The existing
mode object is renamed to outer_mode.

This is the first part of an attempt to fix inter-family transforms.  As it
is we always use the outer family when determining which mode to use.  As a
result we may end up shoving IPv4 packets into netfilter6 and vice versa.

What we really want is to use the inner family for the first part of outbound
processing and the outer family for the second part.  For inbound processing
we'd use the opposite pairing.

I've also added a check to prevent silly combinations such as transport mode
with inter-family transforms.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-17 21:35:51 -07:00
..
datagram.c
dev.c [NET]: Avoid copying TCP packets unnecessarily 2007-10-15 12:26:34 -07:00
dev_mcast.c [NETNS]: Move some code into __init section when CONFIG_NET_NS=n 2007-10-10 16:54:58 -07:00
dst.c [NET]: Make the loopback device per network namespace. 2007-10-10 16:52:49 -07:00
ethtool.c
fib_rules.c [IPV4/IPV6/DECNET]: Small cleanup for fib rules. 2007-10-10 16:51:22 -07:00
filter.c [NET]: Fix the race between sk_filter_(de|at)tach and sk_clone() 2007-10-17 21:22:42 -07:00
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile [NET]: Fix running without sysfs 2007-10-10 16:52:46 -07:00
neighbour.c [NEIGH]: Ensure that pneigh_lookup is protected with RTNL 2007-10-15 12:54:15 -07:00
net-sysfs.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
net_namespace.c [NETNS]: Don't memset() netns to zero manually 2007-10-10 16:54:59 -07:00
netevent.c
netpoll.c [NET]: Wrap netdevice hardware header creation. 2007-10-10 16:52:50 -07:00
pktgen.c [IPSEC]: Rename mode to outer_mode and add inner_mode 2007-10-17 21:35:51 -07:00
request_sock.c
rtnetlink.c [NET]: make netlink user -> kernel interface synchronious 2007-10-10 21:15:29 -07:00
scm.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
skbuff.c [NET]: Fix csum_start update in pskb_expand_head 2007-10-15 12:26:33 -07:00
sock.c [NET]: Move the filter releasing into a separate call 2007-10-17 21:21:51 -07:00
stream.c
sysctl_net_core.c
user_dma.c
utils.c