diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-06-14 12:58:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-06-14 12:58:26 -0700 |
commit | d7ea5b91fad553e445bbe5d958b6a7b16222c092 (patch) | |
tree | ccde3890cc0f6e44432d43f315d7dc6d705144f5 /net | |
parent | 66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a (diff) | |
download | linux-d7ea5b91fad553e445bbe5d958b6a7b16222c092.tar.gz linux-d7ea5b91fad553e445bbe5d958b6a7b16222c092.tar.bz2 linux-d7ea5b91fad553e445bbe5d958b6a7b16222c092.zip |
[TCP]: Add missing break to TCP option parsing code
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/tcp_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index ed4a1bda822d..d6d0f9b6cdc6 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: /* |