Re: [PATCH] Fix corrupt TCP packets when options space overflows with MD5SIG enabled

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adam Langley <agl@...>
Cc: Ben Hutchings <bhutchings@...>, <davem@...>, <netdev@...>
Date: Friday, May 30, 2008 - 4:32 pm

On Fri, 30 May 2008 12:17:12 -0700
"Adam Langley" <agl@imperialviolet.org> wrote:


Your mailer is wrapping lines so patch is munged.


You can just do:

+	struct tcp_md5sig_key *md5 = NULL;
 #ifdef CONFIG_TCP_MD5SIG
-	struct tcp_md5sig_key *md5;
 	__u8 *md5_hash_location;
 #endif

GCC does the right thing.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Fix corrupt TCP packets when options space overf..., Stephen Hemminger, (Fri May 30, 4:32 pm)