diff options
author | 2007-06-14 12:58:26 -0700 | |
---|---|---|
committer | 2007-06-14 12:58:26 -0700 | |
commit | d7ea5b91fad553e445bbe5d958b6a7b16222c092 (patch) | |
tree | ccde3890cc0f6e44432d43f315d7dc6d705144f5 /net/ipv4/tcp_input.c | |
parent | [TCP]: Set initial_ssthresh default to zero in Cubic and BIC. (diff) | |
download | wireguard-linux-d7ea5b91fad553e445bbe5d958b6a7b16222c092.tar.xz wireguard-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/ipv4/tcp_input.c')
-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: /* |