]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf1e3072269eb7465072a1fd1eef8e357f879f60
tree3cee2cdcdb0270fcd5e7765cdb4e8b5882afecb0
parent2209a019f6faded1f38f622f8b699803d97b35f2
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