diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2017-12-22 10:15:20 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-02 20:33:25 +0100 |
commit | 4033c396f80c56b643259876937097728bf5514b (patch) | |
tree | 08adbd33c7f83df7589d51a90a1de27b5265c6ce /net/ipv4 | |
parent | ca57949d169ec44045177252f61dc74e850641ad (diff) | |
download | linux-rt-4033c396f80c56b643259876937097728bf5514b.tar.gz |
sctp: Replace use of sockets_allocated with specified macro.
[ Upstream commit 8cb38a602478e9f806571f6920b0a3298aabf042 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions