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>
This commit is contained in:
committed by
David S. Miller
parent
f10f84314d
commit
a9c19329ec
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user