Skip to content

Commit c2b69f2

Browse files
herbertxdavem330
authored andcommitted
flow_offload: Move rhashtable inclusion to the source file
I noticed that touching linux/rhashtable.h causes lib/vsprintf.c to be rebuilt. This dependency came through a bogus inclusion in the file net/flow_offload.h. This patch moves it to the right place. This patch also removes a lingering rhashtable inclusion in cls_api created by the same commit. Fixes: 4e48190 ("flow_offload: move tc indirect block to...") Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8e81358 commit c2b69f2

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

include/net/flow_offload.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <linux/list.h>
66
#include <linux/netlink.h>
77
#include <net/flow_dissector.h>
8-
#include <linux/rhashtable.h>
98

109
struct flow_match {
1110
struct flow_dissector *dissector;

net/core/flow_offload.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <net/flow_offload.h>
55
#include <linux/rtnetlink.h>
66
#include <linux/mutex.h>
7+
#include <linux/rhashtable.h>
78

89
struct flow_rule *flow_rule_alloc(unsigned int num_actions)
910
{

net/sched/cls_api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include <linux/kmod.h>
2121
#include <linux/slab.h>
2222
#include <linux/idr.h>
23-
#include <linux/rhashtable.h>
2423
#include <linux/jhash.h>
2524
#include <linux/rculist.h>
2625
#include <net/net_namespace.h>

0 commit comments

Comments
 (0)