diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 7528632bcf2a28d25625f8a01a8754f516d6a0f4..8f73be4945037c6d0997ec8ab7c3e9da3980a6e4 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -823,7 +823,7 @@ static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb,
 	 * to minimize possbility that any useful information to an
 	 * attacker is leaked. Only lower 20 bits are relevant.
 	 */
-	rol32(hash, 16);
+	hash = rol32(hash, 16);
 
 	flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK;