diff options
author | Eric Dumazet <[email protected]> | 2024-04-29 13:40:23 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-30 18:46:52 -0700 |
commit | dda4d96acb20c02920f6d9a20fdc3f4846192aeb (patch) | |
tree | 3a6f55ab6c96593a9a625a9d466c88f592123bba /net/ipv4/tcp_input.c | |
parent | d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (diff) |
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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions