diff options
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r-- | net/dccp/options.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index 3163ae980f16..b11d7b7167f0 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -54,7 +54,6 @@ int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, | |||
54 | struct dccp_sock *dp = dccp_sk(sk); | 54 | struct dccp_sock *dp = dccp_sk(sk); |
55 | const struct dccp_hdr *dh = dccp_hdr(skb); | 55 | const struct dccp_hdr *dh = dccp_hdr(skb); |
56 | const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; | 56 | const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; |
57 | u64 ackno = DCCP_SKB_CB(skb)->dccpd_ack_seq; | ||
58 | unsigned char *options = (unsigned char *)dh + dccp_hdr_len(skb); | 57 | unsigned char *options = (unsigned char *)dh + dccp_hdr_len(skb); |
59 | unsigned char *opt_ptr = options; | 58 | unsigned char *opt_ptr = options; |
60 | const unsigned char *opt_end = (unsigned char *)dh + | 59 | const unsigned char *opt_end = (unsigned char *)dh + |
@@ -133,9 +132,8 @@ int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, | |||
133 | case DCCPO_ACK_VECTOR_1: | 132 | case DCCPO_ACK_VECTOR_1: |
134 | if (dccp_packet_without_ack(skb)) /* RFC 4340, 11.4 */ | 133 | if (dccp_packet_without_ack(skb)) /* RFC 4340, 11.4 */ |
135 | break; | 134 | break; |
136 | if (dp->dccps_hc_rx_ackvec != NULL && | 135 | dccp_pr_debug("%s Ack Vector (len=%u)\n", dccp_role(sk), |
137 | dccp_ackvec_parse(sk, skb, &ackno, opt, value, len)) | 136 | len); |
138 | goto out_invalid_option; | ||
139 | break; | 137 | break; |
140 | case DCCPO_TIMESTAMP: | 138 | case DCCPO_TIMESTAMP: |
141 | if (len != 4) | 139 | if (len != 4) |