flow_offload: include linux/kernel.h from flow_offload.h
authorEdward Cree <ecree@solarflare.com>
Fri, 31 May 2019 21:47:21 +0000 (22:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 21:57:04 +0000 (14:57 -0700)
flow_stats_update() uses max_t, so ensure we have that defined.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h

index a2df99f9b196cb0719dd82344d2abf751e777afc..36fdb85c974dd299b78161a2faa21091fda8aae1 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _NET_FLOW_OFFLOAD_H
 #define _NET_FLOW_OFFLOAD_H
 
+#include <linux/kernel.h>
 #include <net/flow_dissector.h>
 
 struct flow_match {