[CCID3]: The receiver of a half-connection does not set window counter values
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 6 Dec 2007 14:29:07 +0000 (12:29 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:43 +0000 (14:56 -0800)
Only the sender sets window counters [RFC 4342, sections 5 and 8.1].

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c

index e0f87f22719e235ce9ff681d2f3061840839c1eb..f5cfc2e2d7b2271e62f0ed76d3c12d9266a91cce 100644 (file)
@@ -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;