Merge tag 'stable/for-linus-3.18-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...
[firefly-linux-kernel-4.4.55.git] / include / net / dst_ops.h
index 2f26dfb8450e89057b97a09d1a14f152b4d3d8e7..1f99a1de0e4ff419b5a9f137298e0c0b3182f7a8 100644 (file)
@@ -63,7 +63,7 @@ static inline void dst_entries_add(struct dst_ops *dst, int val)
 
 static inline int dst_entries_init(struct dst_ops *dst)
 {
-       return percpu_counter_init(&dst->pcpuc_entries, 0);
+       return percpu_counter_init(&dst->pcpuc_entries, 0, GFP_KERNEL);
 }
 
 static inline void dst_entries_destroy(struct dst_ops *dst)