mib: put tcp statistics on struct net
Proc temporary uses stats from init_net. BTW, TCP_XXX_STATS are beautiful (w/o do { } while (0) facing) again :) Signed-off-by:Pavel Emelyanov <xemul@openvz.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/netns/mib.h 1 addition, 0 deletionsinclude/net/netns/mib.h
- include/net/tcp.h 4 additions, 5 deletionsinclude/net/tcp.h
- net/ipv4/af_inet.c 9 additions, 7 deletionsnet/ipv4/af_inet.c
- net/ipv4/proc.c 2 additions, 2 deletionsnet/ipv4/proc.c
- net/ipv4/tcp.c 0 additions, 3 deletionsnet/ipv4/tcp.c
Loading
Please register or sign in to comment