tcp: add net to tcp_mib_init
authorPavel Emelyanov <xemul@openvz.org>
Thu, 17 Jul 2008 03:21:42 +0000 (20:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2008 03:21:42 +0000 (20:21 -0700)
commita9c19329eccdb145a08a4a2e969d7b40c54c9bcc
tree3cee2cdcdb0270fcd5e7765cdb4e8b5882afecb0
parentf10f84314d5adc0ba6ca2a0877442de63e226130
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>
include/net/tcp.h
net/ipv4/af_inet.c