From: Tom Herbert Date: Fri, 31 Jul 2015 23:52:10 +0000 (-0700) Subject: net: Add functions to get skb->hash based on flow structures X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~243^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70ea018da0631e10c26a02f5a82d626ffef5bd7;p=pandora-kernel.git net: Add functions to get skb->hash based on flow structures Add skb_get_hash_flowi6 and skb_get_hash_flowi4 which derive an sk_buff hash from flowi6 and flowi4 structures respectively. These functions can be called when creating a packet in the output path where the new sk_buff does not yet contain a fully formed packet that is parsable by flow dissector. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed