mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
mib: add net to NET_INC_STATS
Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1ed834655a
commit
4e6734447d
3 changed files with 4 additions and 4 deletions
|
@ -319,7 +319,7 @@ EXPORT_SYMBOL(tcp_memory_pressure);
|
|||
void tcp_enter_memory_pressure(struct sock *sk)
|
||||
{
|
||||
if (!tcp_memory_pressure) {
|
||||
NET_INC_STATS(LINUX_MIB_TCPMEMORYPRESSURES);
|
||||
NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMEMORYPRESSURES);
|
||||
tcp_memory_pressure = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue