lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] tcp: initialize variable ecn_ok in syncookies path
From
From: Mike Waychison <mikew@google.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@google.com>

Applied, thanks Mike.


\
 
 \ /
  Last update: 2011-08-11 07:07    [W:0.040 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site