]> git.baikalelectronics.ru Git - kernel.git/commit
[NEIGH]: neigh_table_clear() doesn't free stats
authorKirill Korotaev <dev@openvz.org>
Fri, 1 Sep 2006 08:34:10 +0000 (01:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Sep 2006 06:21:01 +0000 (23:21 -0700)
commit35a09e2413d43ea2e798413837d44defcb1c92e7
treeafadd7d4d1a3b01f0941b8e1039bad6b2ba222af
parent174de82769852846a3bd1a8a32c88542fdf00354
[NEIGH]: neigh_table_clear() doesn't free stats

neigh_table_clear() doesn't free tbl->stats.
Found by Alexey Kuznetsov. Though Alexey considers this
leak minor for mainstream, I still believe that cleanup
code should not forget to free some of the resources :)

At least, this is critical for OpenVZ with virtualized
neighbour tables.

Signed-Off-By: Kirill Korotaev <dev@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c