linux-stable-rt/net/core
Herbert Xu 6775cab98b [PATCH] Fix dst_destroy() race
When we are not the real parent of the dst (e.g., when we're xfrm_dst and
the child is an rtentry), it may already be on the GC list.

In fact the current code is buggy to, we need to check dst->flags before
the dec as dst may no longer be valid afterwards.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:24:10 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
datagram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dev_mcast.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dst.c [PATCH] Fix dst_destroy() race 2005-04-16 15:24:10 -07:00
dv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ethtool.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
filter.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flow.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen_estimator.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen_stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iovec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
link_watch.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neighbour.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net-sysfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netfilter.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netpoll.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pktgen.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rtnetlink.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skbuff.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sock.c [PATCH] net: don't call kmem_cache_create with a spinlock held 2005-04-16 15:24:09 -07:00
stream.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl_net_core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
utils.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wireless.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00