From: Tom Herbert Date: Wed, 2 Jul 2014 04:33:17 +0000 (-0700) Subject: net: Only do flow_dissector hash computation once per packet X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~223^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b18ddb9cc1056eea24e3edc1828cfb3fd0726f;p=pandora-kernel.git net: Only do flow_dissector hash computation once per packet Add sw_hash flag to skbuff to indicate that skb->hash was computed from flow_dissector. This flag is checked in skb_get_hash to avoid repeatedly trying to compute the hash (ie. in the case that no L4 hash can be computed). Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed