projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mib: add net to NET_INC_STATS
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
tcp.c
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index bc8559a6f7e580d3ba5432e178db4d8f685402b2..85f08291e9287f8fc9ccb0d5f608510ce2972b3f 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-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;
}
}