net: add missing includes of linux/splice.h
authorJakub Kicinski <kuba@kernel.org>
Thu, 26 Jan 2023 07:14:21 +0000 (23:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 11:19:46 +0000 (11:19 +0000)
Number of files depend on linux/splice.h getting included
by linux/skbuff.h which soon will no longer be the case.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_rx.c
net/unix/af_unix.c

index 036532cf39aa5b169ee5d31282389a4cd7e49adc..1c0fe9ba5358423c55a92aec361d1c8e30fd121e 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/if_vlan.h>
 #include <linux/rcupdate_wait.h>
 #include <linux/ctype.h>
+#include <linux/splice.h>
 
 #include <net/sock.h>
 #include <net/tcp.h>
index 0a6e615f000cfd0621258071dafd6ac765e78c56..4380d32f5a5f96205d486dea4ff763435bc2e95d 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/net.h>
 #include <linux/rcupdate.h>
 #include <linux/sched/signal.h>
+#include <linux/splice.h>
 
 #include <net/sock.h>
 #include <trace/events/sock.h>
index 009616fa02563dd5d8dbe925ca97e31347f3cbc4..0be25e712c283614eb8f793bee0474c72096bc32 100644 (file)
 #include <linux/mount.h>
 #include <net/checksum.h>
 #include <linux/security.h>
+#include <linux/splice.h>
 #include <linux/freezer.h>
 #include <linux/file.h>
 #include <linux/btf_ids.h>