In kernels < 4.2, we don't have skb_get_hash_perturb(), which is
needed by the new fq code. We don't need it in stack-dev, so just add
a dummy function that returns 0.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
{
put_page(virt_to_head_page(data));
}
+
+/* iwlwifi doesn't need this function, so it's safe to just return 0 */
+static inline
+__u32 skb_get_hash_perturb(const struct sk_buff *skb, u32 perturb)
+{
+ return 0;
+}
+
#endif
#endif /* __BACKPORT_SKBUFF_H */