[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110810.220034.1867514011580098205.davem@davemloft.net>
Date: Wed, 10 Aug 2011 22:00:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mikew@...gle.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tcp: initialize variable ecn_ok in syncookies path
From: Mike Waychison <mikew@...gle.com>
Date: Wed, 10 Aug 2011 11:51:24 -0700
> Using a gcc 4.4.3, warnings are emitted for a possibly uninitialized use
> of ecn_ok.
>
> This can happen if cookie_check_timestamp() returns due to not
> having seen a timestamp. Defaulting to ecn off seems like a
> reasonable thing to do in this case, so initialized ecn_ok to false.
>
> Signed-off-by: Mike Waychison <mikew@...gle.com>
Applied, thanks Mike.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists