diff options
author | Tonghao Zhang | 2017-12-22 19:15:20 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-27 19:47:52 +0100 |
commit | 8cb38a602478e9f806571f6920b0a3298aabf042 (patch) | |
tree | 7ce698aa610e3782b9a29c6e45a9551b1fb7a0ad /tools | |
parent | bnx2x: Improve reliability in case of nested PCI errors (diff) | |
download | kernel-qcow2-linux-8cb38a602478e9f806571f6920b0a3298aabf042.tar.gz kernel-qcow2-linux-8cb38a602478e9f806571f6920b0a3298aabf042.tar.xz kernel-qcow2-linux-8cb38a602478e9f806571f6920b0a3298aabf042.zip |
sctp: Replace use of sockets_allocated with specified macro.
The patch(180d8cd942ce) replaces all uses of struct sock fields'
memory_pressure, memory_allocated, sockets_allocated, and sysctl_mem
to accessor macros. But the sockets_allocated field of sctp sock is
not replaced at all. Then replace it now for unifying the code.
Fixes: 180d8cd942ce ("foundations of per-cgroup memory pressure controlling.")
Cc: Glauber Costa <glommer@parallels.com>
Signed-off-by: Tonghao Zhang <zhangtonghao@didichuxing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions