diff options
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 2c0ba52e5303..10a64d57078c 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1442,7 +1442,7 @@ int __sk_mem_schedule(struct sock *sk, int size, int kind) | |||
1442 | /* Under pressure. */ | 1442 | /* Under pressure. */ |
1443 | if (allocated > prot->sysctl_mem[1]) | 1443 | if (allocated > prot->sysctl_mem[1]) |
1444 | if (prot->enter_memory_pressure) | 1444 | if (prot->enter_memory_pressure) |
1445 | prot->enter_memory_pressure(); | 1445 | prot->enter_memory_pressure(sk); |
1446 | 1446 | ||
1447 | /* Over hard limit. */ | 1447 | /* Over hard limit. */ |
1448 | if (allocated > prot->sysctl_mem[2]) | 1448 | if (allocated > prot->sysctl_mem[2]) |