tcp_metrics: Rewrite tcp_metrics_flush_all
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 13 Mar 2015 05:07:10 +0000 (00:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 05:57:07 +0000 (01:57 -0400)
commit04f721c671656f93de888b1d176ba30b7336cca3
tree72d8024ae51c6b3c3d82cf75bf643b54c8f9acb4
parent8a4bff714fc088729abdd479acbfe934ddf16f7e
tcp_metrics: Rewrite tcp_metrics_flush_all

Rewrite tcp_metrics_flush_all so that it can cope with entries from
different network namespaces on it's hash chain.

This is based on the logic in tcp_metrics_nl_cmd_del for deleting
a selection of entries from a tcp metrics hash chain.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c