Explorar o código

[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>
Ilpo Järvinen %!s(int64=18) %!d(string=hai) anos
pai
achega
d7ea5b91fa
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      net/ipv4/tcp_input.c

+ 1 - 0
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) {
 					   opt_rx->sack_ok) {
 						TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th;
 						TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th;
 					}
 					}
+					break;
 #ifdef CONFIG_TCP_MD5SIG
 #ifdef CONFIG_TCP_MD5SIG
 				case TCPOPT_MD5SIG:
 				case TCPOPT_MD5SIG:
 					/*
 					/*