diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-10-04 14:38:49 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:54:31 -0700 |
commit | bc8498721dfe3f7d537f4f75302be7dbe9c7b939 (patch) | |
tree | 6bf28dc1b1443e1ea47c3f45135ef1f11a5cd42a /net/dccp/proto.c | |
parent | af289e803fdf2fcd19cf4a57c3c896dba146c756 (diff) | |
download | op-kernel-dev-bc8498721dfe3f7d537f4f75302be7dbe9c7b939.zip op-kernel-dev-bc8498721dfe3f7d537f4f75302be7dbe9c7b939.tar.gz |
[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>
Diffstat (limited to 'net/dccp/proto.c')
0 files changed, 0 insertions, 0 deletions