summaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-16 20:21:42 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-16 20:21:42 -0700
commita9c19329eccdb145a08a4a2e969d7b40c54c9bcc (patch)
tree3cee2cdcdb0270fcd5e7765cdb4e8b5882afecb0 /net/ipv4/af_inet.c
parentf10f84314d5adc0ba6ca2a0877442de63e226130 (diff)
downloadop-kernel-dev-a9c19329eccdb145a08a4a2e969d7b40c54c9bcc.zip
op-kernel-dev-a9c19329eccdb145a08a4a2e969d7b40c54c9bcc.tar.gz
tcp: add net to tcp_mib_init
This one sets TCP MIBs after zeroing them, and thus requires the net. The existing single caller can use init_net (temporarily). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index dc41133..95a966d 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1363,7 +1363,7 @@ static int __init init_ipv4_mibs(void)
sizeof(struct udp_mib)) < 0)
goto err_udplite_mib;
- tcp_mib_init();
+ tcp_mib_init(&init_net);
return 0;
OpenPOWER on IntegriCloud