diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-18 03:47:07 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-18 03:47:07 (GMT) |
commit | a01c1335a308ee660518e33db03fb5f5e1dfc166 (patch) | |
tree | bd31d76a300b1c2655e026e9f618a4224bf5370e /drivers/net/stmmac/stmmac_timer.c | |
parent | 482e3febc2e7df78411005dcdd7621c16b98b088 (diff) | |
download | linux-fsl-qoriq-a01c1335a308ee660518e33db03fb5f5e1dfc166.tar.xz |
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 <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/stmmac_timer.c')
0 files changed, 0 insertions, 0 deletions