From: Tom Herbert Date: Tue, 24 Feb 2015 17:17:31 +0000 (-0800) Subject: udp: In udp_flow_src_port use random hash value if skb_get_hash fails X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~393 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=723b8e460d87e957f251dc5764f4ab86af6ab44e;p=pandora-kernel.git udp: In udp_flow_src_port use random hash value if skb_get_hash fails In the unlikely event that skb_get_hash is unable to deduce a hash in udp_flow_src_port we use a consistent random value instead. This is specified in GRE/UDP draft section 3.2.1: https://tools.ietf.org/html/draft-ietf-tsvwg-gre-in-udp-encap-04 Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed