kernel-ark/net/ipv6
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
..
netfilter [NETFILTER]: {arp,ip,ip6}_tables: proper error recovery in init path 2006-08-13 18:57:28 -07:00
addrconf.c [IPV6]: ipv6_add_addr should install dstentry earlier 2006-08-29 21:22:18 -07:00
af_inet6.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
ah6.c
anycast.c
datagram.c
esp6.c
exthdrs_core.c
exthdrs.c
icmp.c [IPV6] lockdep: annotate __icmpv6_socket 2006-08-17 16:29:48 -07:00
inet6_connection_sock.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
inet6_hashtables.c
ip6_fib.c
ip6_flowlabel.c
ip6_input.c
ip6_output.c [INET]: Use pskb_trim_unique when trimming paged unique skbs 2006-08-13 20:12:58 -07:00
ip6_tunnel.c
ipcomp6.c
ipv6_sockglue.c
ipv6_syms.c
Kconfig
Makefile
mcast.c [MCAST]: Fix filter leak on device removal. 2006-08-17 16:29:57 -07:00
ndisc.c
netfilter.c
proc.c
protocol.c
raw.c
reassembly.c
route.c [IPV6]: SNMPv2 "ipv6IfStatsInAddrErrors" counter error 2006-08-29 21:22:15 -07:00
sit.c
sysctl_net_ipv6.c
tcp_ipv6.c [IPV6]: Segmentation offload not set correctly on TCP children 2006-08-26 18:42:01 -07:00
tunnel6.c
udp.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
xfrm6_input.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm6_state.c
xfrm6_tunnel.c