]> err.no Git - linux-2.6/commit
[CCID3]: Remove race condition and update t_ipi when `s' changes
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 20 Mar 2007 17:56:11 +0000 (14:56 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:52 +0000 (22:26 -0700)
commit1266adee12d25385a25e1c57b1e3ff05a90bb4d7
treeeb42be8ede3ca9d5ac00076ebee20be5771c30ee
parent8699be7d240e37c91a84bdf32e79941d72bc7bd5
[CCID3]: Remove race condition and update t_ipi when `s' changes

This:

 1. removes a race condition in the access to the scheduled send time t_nom which
    results from allowing asynchronous r/w access to t_nom without locks;

 2. updates the inter-packet interval t_ipi = s/X when `s' changes, following a
    suggestion by Ian McDonald.

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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c