0008-add-back-old-gfp-this-node-define.patch (460B)
1 diff --git a/datapath/flow.c b/datapath/flow.c 2 index a7a2063..8db8041 100644 3 --- a/datapath/flow.c 4 +++ b/datapath/flow.c 5 @@ -51,6 +51,14 @@ 6 7 #include "vlan.h" 8 9 +#ifndef GFP_THISNODE 10 +#ifdef CONFIG_NUMA 11 +#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY) 12 +#else 13 +#define GFP_THISNODE ((__force gfp_t)0) 14 +#endif 15 +#endif 16 + 17 u64 ovs_flow_used_time(unsigned long flow_jiffies) 18 { 19 struct timespec cur_ts;