diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-26 10:14:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-27 14:19:46 +0300 |
commit | 21bf73158fe7ae8a3d55618e58edc958f84739a8 (patch) | |
tree | e966934c9d0dd380d35d4f74f9bb23754b6e76a7 | |
parent | 9dd0db2b1303a489dd9a6d6de499fa89e6f88b93 (diff) | |
download | linux-21bf73158fe7ae8a3d55618e58edc958f84739a8.tar.xz |
net: remove unnecessary includes from net/flow.h
This file is included by a lot of other commonly included
headers, it doesn't need socket.h or flow_dissector.h.
This reduces the size of this file after pre-processing
from 28165 to 4663.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/flow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 2f0da4f0318b..bb8651a6eaa7 100644 --- a/include/net/flow.h +++ b/include/net/flow.h @@ -8,12 +8,13 @@ #ifndef _NET_FLOW_H #define _NET_FLOW_H -#include <linux/socket.h> #include <linux/in6.h> #include <linux/atomic.h> -#include <net/flow_dissector.h> +#include <linux/container_of.h> #include <linux/uidgid.h> +struct flow_keys; + /* * ifindex generation is per-net namespace, and loopback is * always the 1st device in ns (see net_dev_init), thus any |