From: Ilpo Järvinen Date: Thu, 14 Jun 2007 19:58:26 +0000 (-0700) Subject: [TCP]: Add missing break to TCP option parsing code X-Git-Tag: v2.6.22-rc5~39^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d7ea5b91fad553e445bbe5d958b6a7b16222c092;p=linux-2.6-omap-h63xx.git [TCP]: Add missing break to TCP option parsing code This flaw does not affect any behavior (currently). Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index ed4a1bda822..d6d0f9b6cdc 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -2932,6 +2932,7 @@ void tcp_parse_options(struct sk_buff *skb, struct tcp_options_received *opt_rx, opt_rx->sack_ok) { TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th; } + break; #ifdef CONFIG_TCP_MD5SIG case TCPOPT_MD5SIG: /*