kernel-ark/net
Keir Fraser 57f5f544f5 [IPV6]: ipv6_add_addr should install dstentry earlier
ipv6_add_addr allocates a struct inet6_ifaddr and a dstentry, but it
doesn't install the dstentry in ifa->rt until after it releases the
addrconf_hash_lock. This means other CPUs will be able to see the new
address while it hasn't been initialized completely yet.

One possible fix would be to grab the ifp->lock spinlock when
creating the address struct; a simpler fix is to just move the
assignment.

Acked-by: jbeulich@novell.com
Acked-by: okir@suse.de
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-08-29 21:22:18 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [BRIDGE] netfilter: memory corruption fix 2006-08-26 20:28:30 -07:00
core
dccp [DCCP]: Fix CCID3 2006-08-26 23:40:50 -07:00
decnet
econet
ethernet
ieee80211
ipv4 [TCP]: Two RFC3465 Appropriate Byte Count fixes. 2006-08-29 21:22:16 -07:00
ipv6 [IPV6]: ipv6_add_addr should install dstentry earlier 2006-08-29 21:22:18 -07:00
ipx
irda
key
lapb
llc
netfilter
netlink [NETLINK]: Call panic if nl_table allocation fails 2006-08-29 21:22:18 -07:00
netrom
packet
rose
rxrpc
sched
sctp [SCTP]: Fix sctp_primitive_ABORT() call in sctp_close(). 2006-08-29 21:22:13 -07:00
sunrpc
tipc
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE