diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-29 16:40:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-01 04:46:52 +0300 |
commit | dda4d96acb20c02920f6d9a20fdc3f4846192aeb (patch) | |
tree | 3a6f55ab6c96593a9a625a9d466c88f592123bba /include/net/mptcp.h | |
parent | d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (diff) | |
download | linux-dda4d96acb20c02920f6d9a20fdc3f4846192aeb.tar.xz |
tcp: move tcp_out_of_memory() to net/ipv4/tcp.c
tcp_out_of_memory() has a single caller: tcp_check_oom().
Following patch will also make sk_memory_allocated()
not anymore visible from <net/sock.h> and <net/tcp.h>
Add const qualifier to sock argument of tcp_out_of_memory()
and tcp_check_oom().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240429134025.1233626-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/mptcp.h')
0 files changed, 0 insertions, 0 deletions