ipv6: Fix fib6_dump_table walker leak
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Jan 2009 06:17:51 +0000 (22:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jan 2009 06:17:51 +0000 (22:17 -0800)
commit7891cc818967e186be68caac32d84bfd0a3f0bd2
treee8ac3bb46c043f7fd2a39d80e0b61ff7db30fb5c
parent33966dd0e2f68f26943cd9ee93ec6abbc6547a8e
ipv6: Fix fib6_dump_table walker leak

When a fib6 table dump is prematurely ended, we won't unlink
its walker from the list.  This causes all sorts of grief for
other users of the list later.

Reported-by: Chris Caputo <ccaputo@alt.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c