Commit c2b69f24 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

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: 4e481908 ("flow_offload: move tc indirect block to...")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e813586
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#include <net/flow_dissector.h> #include <net/flow_dissector.h>
#include <linux/rhashtable.h>
struct flow_match { struct flow_match {
struct flow_dissector *dissector; struct flow_dissector *dissector;
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <net/flow_offload.h> #include <net/flow_offload.h>
#include <linux/rtnetlink.h> #include <linux/rtnetlink.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/rhashtable.h>
struct flow_rule *flow_rule_alloc(unsigned int num_actions) struct flow_rule *flow_rule_alloc(unsigned int num_actions)
{ {
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <linux/kmod.h> #include <linux/kmod.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/idr.h> #include <linux/idr.h>
#include <linux/rhashtable.h>
#include <linux/jhash.h> #include <linux/jhash.h>
#include <linux/rculist.h> #include <linux/rculist.h>
#include <net/net_namespace.h> #include <net/net_namespace.h>
......
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