]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[TCP]: Add missing break to TCP option parsing code
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 14 Jun 2007 19:58:26 +0000 (12:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jun 2007 19:58:26 +0000 (12:58 -0700)
This flaw does not affect any behavior (currently).

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c

index ed4a1bda822df87f58538edfd5c7394146c4e09d..d6d0f9b6cdc6f3eda97ea76b6c69610fba902b6a 100644 (file)
@@ -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:
                                        /*