[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 ed4a1bd..d6d0f9b 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:
                                        /*