]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[DCCP] ccid3: Fix warning message about illegal ACK
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 3 Dec 2006 16:51:14 +0000 (14:51 -0200)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sun, 3 Dec 2006 16:51:14 +0000 (14:51 -0200)
commit26af3072b035daadf34a99d02510f0ff98f41f90
tree2e3bde9b1b8c4bf9f9f74f0b7c2ee0f512664ecf
parent5c3fbb6acf9d32772ec7fc01cedd9478d0e26f44
[DCCP] ccid3: Fix warning message about illegal ACK

This avoids a (harmless) warning message being printed at the DCCP server
(the receiver of a DCCP half connection).

Incoming packets are both directed to

 * ccid_hc_rx_packet_recv() for the server half
 * ccid_hc_tx_packet_recv() for the client half

The message gets printed since on a server the client half is currently not
sending data packets.
This is resolved for the moment by checking the DCCP-role first. In future
times (bidirectional DCCP connections), this test may have to be more
sophisticated.

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