You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
460 B

  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;