linux/net
Joy Latten 75e252d981 [XFRM]: Fix missing protocol comparison of larval SAs.
I noticed that in xfrm_state_add we look for the larval SA in a few
places without checking for protocol match. So when using both 
AH and ESP, whichever one gets added first, deletes the larval SA. 
It seems AH always gets added first and ESP is always the larval 
SA's protocol since the xfrm->tmpl has it first. Thus causing the
additional km_query()

Adding the check eliminates accidental double SA creation. 

Signed-off-by: Joy Latten <latten@austin.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-03-12 17:14:07 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth [PATCH] bluetooth: fix socket locking in hci_sock_dev_event() 2007-03-08 07:38:21 -08:00
bridge
core
dccp [DCCP]: Initialise write_xmit_timer also on passive sockets 2007-03-09 13:47:58 -08:00
decnet
econet
ethernet
ieee80211
ipv4 [IPV4]: Fix warning in ip_mc_rejoin_group. 2007-03-12 17:02:37 -07:00
ipv6 [IPV6] fix ipv6_getsockopt_sticky copy_to_user leak 2007-03-09 16:19:17 -08:00
ipx
irda
iucv
key
lapb
llc
netfilter
netlabel
netlink
netrom
packet
rose [ROSE]: Socket locking is a great invention. 2007-03-12 15:53:33 -07:00
rxrpc
sched
sctp [SCTP] ipv6: inconsistent lock state ipv6_add_addr/sctp_v6_copy_addrlist 2007-03-08 14:43:41 -08:00
sunrpc
tipc
unix
wanrouter [WANROUTER]: Delete superfluous source file "net/wanrouter/af_wanpipe.c". 2007-03-12 17:06:27 -07:00
x25
xfrm [XFRM]: Fix missing protocol comparison of larval SAs. 2007-03-12 17:14:07 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE