From: David S. Miller Date: Mon, 18 Apr 2011 03:47:07 +0000 (-0700) Subject: decnet: Don't leak entries when rebuilding zone. X-Git-Tag: v3.0-rc1~377^2~326 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a01c1335a308ee660518e33db03fb5f5e1dfc166;p=pandora-kernel.git decnet: Don't leak entries when rebuilding zone. As noticed by Ben Hutchings, when we move entries from one table to another we leak all except the first entry. Put back the "next" variable removed by commit 9bf9055eb716f85372c41b3fbc51f90bc7653740 ("decnet: Fix set-but-unused variable.") and use it properly. Reported-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed