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 [NET]: Disallow whitespace in network device names. 2006-08-17 16:29:56 -07:00
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 [NETFILTER]: ctnetlink: fix deadlock in table dumping 2006-08-17 18:12:38 -07:00
netlink [NETLINK]: Call panic if nl_table allocation fails 2006-08-29 21:22:18 -07:00
netrom [NETROM] lockdep: fix false positive 2006-07-12 13:59:02 -07:00
packet
rose
rxrpc
sched [PKT_SCHED] cls_u32: Fix typo. 2006-08-17 16:29:54 -07:00
sctp [SCTP]: Fix sctp_primitive_ABORT() call in sctp_close(). 2006-08-29 21:22:13 -07:00
sunrpc NFS: Check lengths more thoroughly in NFS4 readdir XDR decode 2006-08-24 15:53:34 -04:00
tipc
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE