0008-add-back-old-gfp-this-node-define.patch 460 B

12345678910111213141516171819
  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. #include "vlan.h"
  7. +#ifndef GFP_THISNODE
  8. +#ifdef CONFIG_NUMA
  9. +#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY)
  10. +#else
  11. +#define GFP_THISNODE ((__force gfp_t)0)
  12. +#endif
  13. +#endif
  14. +
  15. u64 ovs_flow_used_time(unsigned long flow_jiffies)
  16. {
  17. struct timespec cur_ts;