Commit 21bf7315 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

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: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9dd0db2b
...@@ -8,12 +8,13 @@ ...@@ -8,12 +8,13 @@
#ifndef _NET_FLOW_H #ifndef _NET_FLOW_H
#define _NET_FLOW_H #define _NET_FLOW_H
#include <linux/socket.h>
#include <linux/in6.h> #include <linux/in6.h>
#include <linux/atomic.h> #include <linux/atomic.h>
#include <net/flow_dissector.h> #include <linux/container_of.h>
#include <linux/uidgid.h> #include <linux/uidgid.h>
struct flow_keys;
/* /*
* ifindex generation is per-net namespace, and loopback is * ifindex generation is per-net namespace, and loopback is
* always the 1st device in ns (see net_dev_init), thus any * always the 1st device in ns (see net_dev_init), thus any
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment