diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-29 15:40:24 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-01 03:46:52 +0200 |
commit | f3d93817fba30a8d3508fa990405039c0820dca3 (patch) | |
tree | 7d579ae7e5402413d7c5c305d624b5526af94fa6 /net/sctp | |
parent | tcp: move tcp_out_of_memory() to net/ipv4/tcp.c (diff) | |
download | linux-f3d93817fba30a8d3508fa990405039c0820dca3.tar.xz linux-f3d93817fba30a8d3508fa990405039c0820dca3.zip |
net: add <net/proto_memory.h>
Move some proto memory definitions out of <net/sock.h>
Very few files need them, and following patch
will include <net/hotdata.h> from <net/proto_memory.h>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240429134025.1233626-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/sm_statefuns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 08fdf1251f46..5adf0c0a6c1a 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c @@ -38,6 +38,7 @@ #include <linux/inet.h> #include <linux/slab.h> #include <net/sock.h> +#include <net/proto_memory.h> #include <net/inet_ecn.h> #include <linux/skbuff.h> #include <net/sctp/sctp.h> |