aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/005-backport_skb_get_hash_perturb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/005-backport_skb_get_hash_perturb.patch')
-rw-r--r--package/kernel/mac80211/patches/005-backport_skb_get_hash_perturb.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/package/kernel/mac80211/patches/005-backport_skb_get_hash_perturb.patch b/package/kernel/mac80211/patches/005-backport_skb_get_hash_perturb.patch
deleted file mode 100644
index 29bccc1e99..0000000000
--- a/package/kernel/mac80211/patches/005-backport_skb_get_hash_perturb.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/backport-include/linux/skbuff.h
-+++ b/backport-include/linux/skbuff.h
-@@ -305,6 +305,19 @@ static inline void skb_free_frag(void *d
- {
- put_page(virt_to_head_page(data));
- }
-+
-+#include <net/flow_keys.h>
-+#include <linux/jhash.h>
-+
-+static inline u32 skb_get_hash_perturb(struct sk_buff *skb, u32 key)
-+{
-+ struct flow_keys keys;
-+
-+ skb_flow_dissect(skb, &keys);
-+ return jhash_3words((__force u32)keys.dst,
-+ (__force u32)keys.src ^ keys.ip_proto,
-+ (__force u32)keys.ports, key);
-+}
- #endif
-
- #endif /* __BACKPORT_SKBUFF_H */