tcp_metrics: panic when tcp_metrics_init fails.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 13 Mar 2015 05:04:51 +0000 (00:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 05:57:07 +0000 (01:57 -0400)
commit6493517eaea9b052e081e557f7c8bb06cc6b1852
treea546f8deb8557ff14314a7e5f3edabeb03c299ab
parent719a11cdbf57b7bdd6c87ded00fd7cb36a76a6a3
tcp_metrics: panic when tcp_metrics_init fails.

There is not a practical way to cleanup during boot so
just panic if there is a problem initializing tcp_metrics.

That will at least give us a clear place to start debugging
if something does go wrong.

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