Eric W. Biederman 849e8a0ca8 tcp_metrics: Add a field tcpm_net and verify it matches on lookup
In preparation for using one tcp metrics hash table for all network
namespaces add a field tcpm_net to struct tcp_metrics_block, and
verify that field on all hash table lookups.

Make the field tcpm_net of type possible_net_t so it takes no space
when network namespaces are disabled.

Further add a function tm_net to read that field so we can be
efficient when network namespaces are disabled and concise
the rest of the time.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-13 01:57:07 -04:00
..
2014-09-18 10:54:36 +02:00
2015-03-04 00:23:23 -05:00
2014-11-06 15:11:10 -05:00
2015-03-12 14:39:40 -04:00
2015-01-31 17:48:18 -08:00
2015-03-12 22:58:13 -04:00
2013-12-29 16:34:25 -05:00
2015-03-12 14:39:40 -04:00
2014-02-19 11:41:25 +01:00
2015-03-12 22:58:13 -04:00
2015-01-28 22:18:37 -08:00
2015-02-20 15:04:03 -05:00
2015-02-28 16:56:51 -05:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2015-03-12 22:58:13 -04:00
2015-02-28 16:56:51 -05:00
2014-09-01 18:12:45 -07:00
2015-01-28 22:18:37 -08:00
2014-09-01 18:12:45 -07:00
2015-01-28 22:18:37 -08:00
2015-01-28 22:18:37 -08:00
2014-05-23 16:28:53 -04:00