[IPV6]: Fix rtnetlink dump infinite loop
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 12 Nov 2005 20:12:05 +0000 (12:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Nov 2005 20:12:05 +0000 (12:12 -0800)
commitefacfbcb6c88677809f44a574fbcd9824835dccb
tree6fea7fcaf7c979a0be6c370c3bb99736753e4ada
parent4f005551a8fac21b6fec8d10d57cd12d373d79e1
[IPV6]: Fix rtnetlink dump infinite loop

The recent change to netlink dump "done" callback handling broke IPv6
which played dirty tricks with the "done" callback.  This causes an
infinite loop during a dump.

The following patch fixes it.

This bug was reported by Jeff Garzik.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c