From: Gerrit Renker Date: Thu, 6 Dec 2007 14:29:07 +0000 (-0200) Subject: [CCID3]: The receiver of a half-connection does not set window counter values X-Git-Tag: MMI-PSA29.97-13-9~37648^2~1195 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30a0eacd479f1c7c15fe0496585ff29f76de3378;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [CCID3]: The receiver of a half-connection does not set window counter values Only the sender sets window counters [RFC 4342, sections 5 and 8.1]. Signed-off-by: Gerrit Renker Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index e0f87f22719e..f5cfc2e2d7b2 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c @@ -733,7 +733,6 @@ static int ccid3_hc_rx_insert_options(struct sock *sk, struct sk_buff *skb) return 0; hcrx = ccid3_hc_rx_sk(sk); - DCCP_SKB_CB(skb)->dccpd_ccval = hcrx->ccid3hcrx_ccval_last_counter; if (dccp_packet_without_ack(skb)) return 0;