]> git.baikalelectronics.ru Git - kernel.git/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)
commit9ef335f3b953553918ec9c227dacb5d286e2968e
treeeb42be8ede3ca9d5ac00076ebee20be5771c30ee
parentbafff7b2ff2fdc9a9b84c452cace4f56766f6549
[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