summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-29 13:40:24 +0000
committerJakub Kicinski <kuba@kernel.org>2024-04-30 18:46:52 -0700
commitf3d93817fba30a8d3508fa990405039c0820dca3 (patch)
tree7d579ae7e5402413d7c5c305d624b5526af94fa6 /net/sctp
parentdda4d96acb20c02920f6d9a20fdc3f4846192aeb (diff)
downloadlinux-stable-f3d93817fba30a8d3508fa990405039c0820dca3.tar.gz
linux-stable-f3d93817fba30a8d3508fa990405039c0820dca3.tar.bz2
linux-stable-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.c1
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>