linux/net
Joy Latten 4a4b6271a8 [PF_KEY]: Fix ipsec not working in 2.6.23-rc1-git10
Although an ipsec SA was established, kernel couldn't seem to find it.

I think since we are now using "x->sel.family" instead of "family" in
the xfrm_selector_match() called in xfrm_state_find(), af_key needs to
set this field too, just as xfrm_user.

In af_key.c, x->sel.family only gets set when there's an
ext_hdrs[SADB_EXT_ADDRESS_PROXY-1] which I think is for tunnel.

I think pfkey needs to also set the x->sel.family field when it is 0.

Tested with below patch, and ipsec worked when using pfkey.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-08-02 19:42:29 -07:00
..
9p fs: 9p/conv.c error path fix 2007-07-31 15:39:42 -07:00
802
8021q [NET]: ethtool ops are the only way 2007-07-31 14:00:02 -07:00
appletalk
atm
ax25
bluetooth [BLUETOOTH] l2cap: don't mangle cmd.len 2007-07-31 02:28:09 -07:00
bridge [NET]: ethtool ops are the only way 2007-07-31 14:00:02 -07:00
core [RTNETLINK]: Fix warning for !CONFIG_KMOD 2007-07-31 14:13:50 -07:00
dccp mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
decnet [DECNET]: kmalloc + memset conversion to kzalloc 2007-07-31 14:05:56 -07:00
econet
ethernet
ieee80211
ipv4 [TCP]: Invoke tcp_sendmsg() directly, do not use inet_sendmsg(). 2007-08-02 19:42:28 -07:00
ipv6 [TCP]: Invoke tcp_sendmsg() directly, do not use inet_sendmsg(). 2007-08-02 19:42:28 -07:00
ipx
irda [IrDA] Typo fix in irnetlink.c copyright 2007-07-21 19:06:53 -07:00
iucv [S390] Convert to smp_call_function_single. 2007-07-27 12:29:17 +02:00
key [PF_KEY]: Fix ipsec not working in 2.6.23-rc1-git10 2007-08-02 19:42:29 -07:00
lapb
llc
mac80211 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-07-19 10:23:21 -07:00
netfilter [NETFILTER] nf_conntrack_expect.c: kmalloc + memset conversion to kzalloc 2007-08-02 19:42:23 -07:00
netlabel Net/Security: fix memory leaks from security_secid_to_secctx() 2007-08-02 11:52:26 -04:00
netlink [GENETLINK]: Correctly report errors while registering a multicast group 2007-07-24 15:34:53 -07:00
netrom
packet
rfkill
rose
rxrpc net/* misc endianness annotations 2007-07-26 11:11:56 -07:00
sched [NET]: Fix prio_tune() handling of root qdisc. 2007-07-31 02:28:20 -07:00
sctp mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
sunrpc net/* misc endianness annotations 2007-07-26 11:11:56 -07:00
tipc [TIPC]: fix tipc_link_create error handling 2007-07-31 02:28:02 -07:00
unix [AF_UNIX]: Make code static. 2007-07-31 02:28:27 -07:00
wanrouter [NET]: Removal of duplicated include net/wanrouter/wanmain.c 2007-08-02 19:42:22 -07:00
wireless
x25
xfrm Net/Security: fix memory leaks from security_secid_to_secctx() 2007-08-02 11:52:26 -04:00
compat.c
Kconfig
Makefile
nonet.c
socket.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
sysctl_net.c
TUNABLE