Thread (2 messages) 2 messages, 2 authors, 2011-08-11

Re: [PATCH] tcp: initialize variable ecn_ok in syncookies path

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-08-11 05:05:29
Also in: lkml

From: Mike Waychison <redacted>
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 <redacted>
Applied, thanks Mike.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help