[DCCP]: Correctly split CCID half connections
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 6 Mar 2007 22:24:18 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2007 22:24:18 +0000 (14:24 -0800)
commit4d46861be6196d0f1614724590968d8da26af82a
treed9c579064159f52edd5dbebed85214ae6a3468df
parent1e51f9513e6b021abcaefd7c76f9b5d682f83232
[DCCP]: Correctly split CCID half connections

This fixes a bug caused by a previous patch, which causes DCCP servers in
LISTEN state to not receive packets.

This patch changes the logic so that
 * servers in either LISTEN or OPEN state get the RX half connection packets
 * clients in OPEN state get the TX half connection packets

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/input.c