tcp: must free metrics at net dismantle
authorEric Dumazet <edumazet@google.com>
Thu, 9 Aug 2012 09:19:13 +0000 (11:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2012 09:31:37 +0000 (02:31 -0700)
We currently leak all tcp metrics at struct net dismantle time.

tcp_net_metrics_exit() frees the hash table, we must first
iterate it to free all metrics.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found