]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit126af6f070bc085deffff181caff62f298a5aaf5
treea546f8deb8557ff14314a7e5f3edabeb03c299ab
parent3fdc10cdd8cb529bfe63a1faa0ae45753887cae7
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