aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
Diffstat (limited to 'net/core')
-rw-r--r--net/core/flow_dissector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index c5f3912dad4c..5f362c1d0332 100644
--- a/net/core/flow_dissector.c
+++ b/net/core/flow_dissector.c
@@ -256,6 +256,8 @@ void __skb_get_hash(struct sk_buff *skb)
256 if (keys.ports) 256 if (keys.ports)
257 skb->l4_hash = 1; 257 skb->l4_hash = 1;
258 258
259 skb->sw_hash = 1;
260
259 skb->hash = __flow_hash_from_keys(&keys); 261 skb->hash = __flow_hash_from_keys(&keys);
260} 262}
261EXPORT_SYMBOL(__skb_get_hash); 263EXPORT_SYMBOL(__skb_get_hash);