[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150901.202014.1478743234631968185.davem@davemloft.net>
Date: Tue, 01 Sep 2015 20:20:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tom@...bertland.com
Cc: netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH net-next] flow_dissector: Fix function argument
ordering dependency
From: Tom Herbert <tom@...bertland.com>
Date: Tue, 1 Sep 2015 18:11:04 -0700
> 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 <tom@...bertland.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists