]> git.karo-electronics.de Git - linux-beck.git/commit
[DCCP]: Wait for CCID
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Oct 2007 21:38:49 +0000 (14:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:31 +0000 (16:54 -0700)
commitbc8498721dfe3f7d537f4f75302be7dbe9c7b939
tree6bf28dc1b1443e1ea47c3f45135ef1f11a5cd42a
parentaf289e803fdf2fcd19cf4a57c3c896dba146c756
[DCCP]: Wait for CCID

This performs a minor optimisation: when ccid_hc_tx_send_packet
returns a value greater zero, then the same call previously was done
again at the begin of the while loop in dccp_wait_for_ccid.

This patch exploits the available information and schedule-timeouts
directly instead.

Documentation also added.

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/output.c