From: Tom Herbert Date: Wed, 2 Sep 2015 01:11:04 +0000 (-0700) Subject: flow_dissector: Fix function argument ordering dependency X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4c1f8ba302ccf4f2b3b17dc614b0a0b14d351a;p=pandora-kernel.git flow_dissector: Fix function argument ordering dependency Commit c6cc1ca7f4d70c ("flowi: Abstract out functions to get flow hash based on flowi") introduced a bug in __skb_set_sw_hash where we require a dependency on evaluating arguments in a function in order. There is no such ordering enforced in C, so this incorrect. This patch fixes that by splitting out the arguments. This bug was found via a compiler warning that keys may be uninitialized. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed